mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add tag command, update guide, add PR templates (#2679)
This commit is contained in:
1 parent
47e5cb1732
commit
3a3edeea08
6 files changed
+50
-8
No files matched your search
Executable
+10
@@ -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
|
||||
Reference in new issue
Block a user