Skip to content

Commit

Permalink
Fix github releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmart7t2 committed Oct 10, 2023
1 parent b0fd673 commit 679315e
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 679315e

Please sign in to comment.