Skip to content

Commit 0544340

Browse files
authored
Verbose output of version numbers
1 parent 624d4c2 commit 0544340

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@ jobs:
2323
run: |
2424
# Get the pushed tag
2525
TAG=${GITHUB_REF#refs/tags/}
26+
echo ${TAG}
2627
2728
# Extract major, minor, and patch versions
2829
IFS='.' read -r MAJOR MINOR PATCH <<< "${TAG#v}"
30+
echo ${MAJOR}
31+
echo ${MINOR}
32+
echo ${PATCH}
2933
3034
# Create release branch for the exact version
3135
git checkout -b "release/${TAG}"
@@ -39,4 +43,4 @@ jobs:
3943
# Update release branch for major version
4044
git checkout -b "release/v${MAJOR}" || git checkout "release/v${MAJOR}"
4145
git merge --ff-only "${TAG}"
42-
git push origin "release/v${MAJOR}"
46+
git push origin "release/v${MAJOR}"

0 commit comments

Comments
 (0)