Fix tag-release script (#2983)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-06-09 07:01:53 +03:00
1 parent 6677e22371
commit 839fe0ac18
1 file changed
+1 -1
+1 -1
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}