Skip to content

Commit 93c447b

Browse files
author
Meghan Jones
authored
Fix draft release workflow (#5256)
1 parent 305da68 commit 93c447b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/draft-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030

3131
- name: Set release or release candidate from GMT version
3232
run: |
33-
if [[ ${{ env.GMT_VERSION }} == [0-9]+.[0-9]+.[0-9]+ ]];
33+
if [[ ${{ env.GMT_VERSION }} == [0-9]+.[0-9]+.[0-9]+ ]]; then
3434
echo "GMT_RELEASE=true" >> $GITHUB_ENV
35-
elif [[ ${{ env.GMT_VERSION }} == [0-9]+.[0-9]+.[0-9]+rc[0-9]+ ]];
35+
elif [[ ${{ env.GMT_VERSION }} == [0-9]+.[0-9]+.[0-9]+rc[0-9]+ ]]; then
3636
echo "GMT_RELEASE=false" >> $GITHUB_ENV
3737
fi
3838

0 commit comments

Comments
 (0)