Skip to content

Commit

Permalink
add helper.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Jun 2, 2023
1 parent 6f9a20d commit f4e4298
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions release.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Param(
[string]$VERSION = "2023.3.31"
)

git checkout master
git pull

# delete old tag
git tag -d v${VERSION}
git push --delete origin v${VERSION}

# create new tag
npm version ${VERSION}
git commit -s -a -m "chore: release v${VERSION}"
git tag -s -a v${VERSION} -m "v${VERSION}4"
git push && git push --tags

0 comments on commit f4e4298

Please sign in to comment.