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 5a608b1 commit d2aa84dCopy full SHA for d2aa84d
.github/workflows/sync-purls.yml
@@ -69,9 +69,13 @@ jobs:
69
id: bump
70
if: steps.regen_fst.outputs.changed == 'true'
71
run: |-
72
+ git tag | tail
73
+ git tag --sort=version:refname | tail -n1 | awk -F'[v.]' '{ printf "%d.%d.0", $2, $3+1 }'
74
+
75
new_version=$(git tag --sort=version:refname | tail -n1 | awk -F'[v.]' '{ printf "%d.%d.0", $2, $3+1 }')
76
77
echo $new_version
78
+ echo "New Version^"
79
echo "new_version=$new_version" >> $GITHUB_OUTPUT
80
81
- name: Add Changelog
0 commit comments