From 839fe0ac188c75722ed4fe4bb85cf74166eea88f Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Wed, 9 Jun 2021 00:01:53 -0400 Subject: [PATCH] Fix tag-release script (#2983) Signed-off-by: Sebastian Malton --- scripts/tag-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tag-release.sh b/scripts/tag-release.sh index 3a32bd3189..82b7f14e6c 100755 --- a/scripts/tag-release.sh +++ b/scripts/tag-release.sh @@ -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}