Skip to content

Commit 8e1f776

Browse files
committed
Fix braces
1 parent b62c214 commit 8e1f776

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ jobs:
7979
if [[ ! -z "${{ github.event.inputs.version }}" ]]; then
8080
TEMP=${{ github.event.inputs.version }}
8181
TEMP=${TEMP:1}
82+
TEMP2=$(echo $GITHUB_REF | awk -F '/' '{ print $3}')
8283
echo "$GITHUB_REF - $TEMP"
83-
TAGS="${echo $TAGS | sed "s|$GITHUB_REF|$TEMP|"}"
84+
TAGS=$(echo $TAGS | sed "s/$TEMP2/$TEMP/")
8485
TRAVIS_TAG=${{ github.event.inputs.version }}
8586
else
8687
TRAVIS_TAG=$(echo $GITHUB_REF | awk -F '/' '{ print $3}')

0 commit comments

Comments
 (0)