From 19f3820d0d7641a439ae9b864f5afe1f03aa6c9f Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Wed, 3 Nov 2021 01:07:00 +0100 Subject: [PATCH] [BUGFIX] Only publish to the TER if the tag is a valid version number (#329) Tags named like `test-tag` should not trigger a TER releasen, but only valid version numbers in the format major.minor.bugfix. Fixes #327 --- .github/workflows/publish.yml | 2 +- CHANGELOG.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7187687..50eccb6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,7 +3,7 @@ name: Publish on: push: tags: - - "**" + - 'v[0-9]+.[0-9]+.[0-9]+' jobs: publish: diff --git a/CHANGELOG.md b/CHANGELOG.md index ce860fa..2b47826 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Removed ### Fixed +- Only publish to the TER if the tag is a valid version number (#329) ## 1.0.0