Add tag command, update guide, add PR templates

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-04-29 12:00:21 -04:00
1 parent f06d330835
commit fc245f078f
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