We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc70f05 commit 1b27fa5Copy full SHA for 1b27fa5
.github/workflows/create-release.yaml
@@ -41,6 +41,7 @@ jobs:
41
BUMP_VERSION: ${{ github.event.inputs.bump_version }}
42
GH_TOKEN: ${{ secrets.GH_TOKEN }}
43
run: |
44
+ set -xeo pipefail
45
last_tag=$(git describe --tags --abbrev=0 --match "${PROJECT_NAME}_v*")
46
regex="^${PROJECT_NAME}_v([0-9]*).([0-9]*).([0-9]*)$"
47
[[ $last_tag =~ $regex ]] || $(echo "failed to parse last tag '$last_tag'" && exit 1)
0 commit comments