Fix release instructions

This commit is contained in:
Earle F. Philhower, III
2024-06-20 17:33:20 -07:00
parent 4053e2e246
commit bca9cc40ec
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,8 @@ Verify things have gone well and then push the change and tag:
git commit -a -m "Update version" git commit -a -m "Update version"
git push git push
git tag X.Y.Z
git push origin X.Y.Z git push origin X.Y.Z
GitHub CI Actions are used to automatically build a draft package whenever a tag is pushed to repo. GitHub CI Actions are used to automatically build a draft package whenever a tag is pushed to repo.

View File

@ -2,4 +2,3 @@
tmp=$(mktemp) tmp=$(mktemp)
jq '.version = "'$1'"' ./package.json > "$tmp" jq '.version = "'$1'"' ./package.json > "$tmp"
mv "$tmp" ./package.json mv "$tmp" ./package.json
git tag $1