Add tag command, update guide, add PR templates (#2679)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-05-12 08:03:45 -04:00
1 parent 47e5cb1732
commit 3a3edeea08
6 files changed
+50 -8

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
if [[ ${git branch --show-current} =~ ^release/v ]]
then
VERSION_STRING=$(cat package.json | jq '.version' -r | xargs printf "v%s")
git tag ${VERSION_STRING}
git push ${GIT_REMOTE:-origin} ${VERSION_STRING}
else
echo "You must be in a release branch"
fi