Skip to content

Commit e0f77d9

Browse files
committed
Messing with sed
1 parent 477f2f6 commit e0f77d9

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
@@ -78,7 +78,8 @@ jobs:
7878
7979
if [[ ! -z "${{ github.event.inputs.version }}" ]]; then
8080
TEMP=${{ github.event.inputs.version }}
81-
TAGS=`echo $TAGS | sed "s/$TRAVIS_TAG/${TEMP:1}/"`
81+
TEMP=${TEMP:1}
82+
TAGS=`echo $TAGS | sed "s|$TRAVIS_TAG|$TEMP|"`
8283
TRAVIS_TAG=${{ github.event.inputs.version }}
8384
else
8485
TRAVIS_TAG=$(echo $GITHUB_REF | awk -F '/' '{ print $3}')

0 commit comments

Comments
 (0)