We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff8002f + b64e487 commit 3279a6aCopy full SHA for 3279a6a
.github/workflows/release.yml
@@ -37,13 +37,9 @@ jobs:
37
release_name: "Release <RELEASE_VERSION>"
38
use_github_release_notes: true
39
40
- - name: Get PR labels
41
- id: pr-labels
42
- uses: joerick/[email protected]
43
-
44
- name: Modify version scheme
45
run: |
46
- if [[ "${{ steps.pr-labels.outputs.labels }}" == *"prerelease"* ]]; then
+ if [[ "${{ steps.release.outputs.tag_name }}" == *"pre"* ]]; then
47
echo "Replacing prerelease version scheme with SNAPSHOT"
48
echo "VERSION=$(echo ${{ steps.release.outputs.tag_name }} | sed -E 's/-pre.*/-SNAPSHOT/')" >> $GITHUB_ENV
49
else
0 commit comments