We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c7e09 commit d179c31Copy full SHA for d179c31
.github/workflows/tag-version.yml
@@ -8,7 +8,7 @@ on:
8
jobs:
9
tag-version:
10
runs-on: ubuntu-latest
11
- if: "contains(github.event.head_commit.message, ':bookmark: Version ')"
+ if: "contains(github.event.head_commit.message, ':bookmark:')"
12
13
steps:
14
- uses: actions/checkout@v4
@@ -22,8 +22,8 @@ jobs:
22
version=$(git log -1 --skip=0 --pretty=%s | grep -oP "(?<=${msg_start})${version_format}")
23
24
if [ -z "${version}" ]; then
25
- echo 'Version not found, exiting.'
26
- exit 0
+ echo 'Version not found, aborting.'
+ exit 1
27
fi
28
29
echo "Found version: ${version}";
0 commit comments