Skip to content

Commit 44c909b

Browse files
authored
Merge pull request #3540 from 1c-syntax/copilot/update-sentry-environment-workflow
2 parents 16d4ccf + 5455f11 commit 44c909b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sentry.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
echo "ENVIRONMENT=production" >> $GITHUB_ENV
3333
elif [[ "${{ env.RELEASE_VERSION }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+-r[ca][0-9]+$ ]]; then
3434
echo "ENVIRONMENT=pre-release" >> $GITHUB_ENV
35-
elif [[ "${{ env.RELEASE_VERSION }}" == develop-* && ! "${{ env.RELEASE_VERSION }}" == *-DIRTY-* ]]; then
35+
elif [[ "${{ env.RELEASE_VERSION }}" == *-SNAPSHOT && ! "${{ env.RELEASE_VERSION }}" == *-DIRTY ]]; then
3636
echo "ENVIRONMENT=develop" >> $GITHUB_ENV
3737
else
3838
echo "ENVIRONMENT=feature" >> $GITHUB_ENV

0 commit comments

Comments
 (0)