Skip to content

Commit

Permalink
Fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
gmart7t2 committed Sep 4, 2024
1 parent 8499718 commit a6d5ed7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ defaults:
run:
shell: bash

permissions:
contents: write

jobs:
release:
strategy:
Expand Down Expand Up @@ -54,7 +57,7 @@ jobs:
- name: Release Type
id: release-type
run: |
if [[ ${{ github.ref }} =~ ^refs/tags/[0-9]+[.][0-9]+[.][0-9]+$ ]]; then
if [[ ${{ github.ref }} =~ ^refs/tags/[0-9]+[.][0-9]+[.][0-9]+(-gms?[0-9]+)?$ ]]; then
echo ::set-output name=value::release
else
echo ::set-output name=value::prerelease
Expand Down

0 comments on commit a6d5ed7

Please sign in to comment.