Skip to content

Commit

Permalink
gh action fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skartknet committed Sep 27, 2024
1 parent eae52d1 commit ec244b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:

- name: Check Version v${{ steps.package_version.outputs.version }} Pre-Release state
id: check_prerelease
shell: bash
run: |
if [ ${{ steps.package_version.outputs.version }} =~ ^[0-9]+\.[0-9]+\.[0-9]+-.+$ ]; then
if [[ ${{ steps.package_version.outputs.version }} =~ ^[0-9]+\.[0-9]+\.[0-9]+-.+$ ]]; then
echo Pre-Release detected
echo ::set-output name=prerelease::true
else
Expand Down

0 comments on commit ec244b5

Please sign in to comment.