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 624d4c2 commit 0544340Copy full SHA for 0544340
.github/workflows/release.yml
@@ -23,9 +23,13 @@ jobs:
23
run: |
24
# Get the pushed tag
25
TAG=${GITHUB_REF#refs/tags/}
26
+ echo ${TAG}
27
28
# Extract major, minor, and patch versions
29
IFS='.' read -r MAJOR MINOR PATCH <<< "${TAG#v}"
30
+ echo ${MAJOR}
31
+ echo ${MINOR}
32
+ echo ${PATCH}
33
34
# Create release branch for the exact version
35
git checkout -b "release/${TAG}"
@@ -39,4 +43,4 @@ jobs:
39
43
# Update release branch for major version
40
44
git checkout -b "release/v${MAJOR}" || git checkout "release/v${MAJOR}"
41
45
git merge --ff-only "${TAG}"
42
- git push origin "release/v${MAJOR}"
46
+ git push origin "release/v${MAJOR}"
0 commit comments