From 3095d43cbbb7d4d45ec0716d629a070d381db15a Mon Sep 17 00:00:00 2001 From: Steve Desmond Date: Thu, 16 Dec 2021 08:57:03 -0500 Subject: [PATCH] Add release script --- release | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 release diff --git a/release b/release new file mode 100755 index 00000000..5792a568 --- /dev/null +++ b/release @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +sed -i 's/"version": ".*"/"version": "'$1'"/' package.json +find \ +| grep \.csproj$ \ +| xargs sed -i 's/.*<\/PackageVersion>/'$1'<\/PackageVersion>/' + +git commit -am "Release $1" +git push + +git tag $1 +git push --tags \ No newline at end of file