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:
parent
6677e22371
commit
839fe0ac18
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ ${git branch --show-current} =~ ^release/v ]]
|
||||
if [[ `git branch --show-current` =~ ^release/v ]]
|
||||
then
|
||||
VERSION_STRING=$(cat package.json | jq '.version' -r | xargs printf "v%s")
|
||||
git tag ${VERSION_STRING}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user