mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix tag-release script (#2983)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
6677e22371
commit
839fe0ac18
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ ${git branch --show-current} =~ ^release/v ]]
|
if [[ `git branch --show-current` =~ ^release/v ]]
|
||||||
then
|
then
|
||||||
VERSION_STRING=$(cat package.json | jq '.version' -r | xargs printf "v%s")
|
VERSION_STRING=$(cat package.json | jq '.version' -r | xargs printf "v%s")
|
||||||
git tag ${VERSION_STRING}
|
git tag ${VERSION_STRING}
|
||||||
|
|||||||
Reference in new issue
Block a user