Skip to content

Commit fc98db7

Browse files
committed
preserviing old echo statements
1 parent 7234c01 commit fc98db7

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ jobs:
3636
Title: ${{ github.event.inputs.release_title }}
3737
ReleaseType: ${{ github.event.inputs.release_type }}
3838
run: |
39-
# Escape Special characters
40-
Title="${Title//\`/}"
41-
Title="${Title//\$/}"
42-
Title="${Title//\"/\\\"}"
43-
Title="${Title//\'/\\\'}"
39+
# Escape special characters
40+
Title=$(echo ${Title//[\"]\\\"})
41+
Title=$(echo ${Title//[\']\\\'})
42+
Title=$(echo ${Title//[\$]})
4443
4544
./utils/publish-release.sh "$ReleaseType" "$Title"
4645

0 commit comments

Comments
 (0)