Skip to content

Commit

Permalink
Add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveDesmond-ca committed Dec 16, 2021
1 parent e0f3bf2 commit 3095d43
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions release
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

sed -i 's/"version": ".*"/"version": "'$1'"/' package.json
find \
| grep \.csproj$ \
| xargs sed -i 's/<PackageVersion>.*<\/PackageVersion>/<PackageVersion>'$1'<\/PackageVersion>/'

git commit -am "Release $1"
git push

git tag $1
git push --tags

0 comments on commit 3095d43

Please sign in to comment.