We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0524a51 commit 3e0818eCopy full SHA for 3e0818e
.github/workflows/version-release.yml
@@ -41,7 +41,11 @@ jobs:
41
- name: Set project release type
42
if: ${{ steps.regex-match.outputs.match == '' }}
43
run: |
44
- echo "RELEASE_TYPE=release" >> $GITHUB_ENV
+ if git show-ref --tags --verify --quiet "refs/tags/v${{ env.VERSION }}"; then
45
+ echo "RELEASE_TYPE=alpha" >> $GITHUB_ENV
46
+ else
47
+ echo "RELEASE_TYPE=release" >> $GITHUB_ENV
48
+ fi
49
50
51
if: ${{ steps.regex-match.outputs.match != '' }}
0 commit comments