mirror of
https://github.com/jdx/mise-action.git
synced 2026-05-15 14:20:32 +00:00
fix: v2 release tag automation
This commit is contained in:
parent
a35d5fc681
commit
c37c93293d
1 changed files with 3 additions and 0 deletions
|
|
@ -4,6 +4,9 @@ set -euxo pipefail
|
||||||
VERSION=$(jq -r .version package.json)
|
VERSION=$(jq -r .version package.json)
|
||||||
MAJOR_VERSION=$(echo "$VERSION" | cut -d. -f1)
|
MAJOR_VERSION=$(echo "$VERSION" | cut -d. -f1)
|
||||||
|
|
||||||
|
# create the version tag
|
||||||
|
git tag "v$VERSION"
|
||||||
|
|
||||||
# push changes to github
|
# push changes to github
|
||||||
git push
|
git push
|
||||||
# push the current tag to github
|
# push the current tag to github
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue