1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix tag-release script

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-06-07 15:13:19 -04:00
parent 60a19143b4
commit 64a5100b0e

View File

@ -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}