Skip to content

Commit

Permalink
fix: github action on release github (#2273)
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil authored Sep 18, 2023
1 parent 216ddc5 commit 49a541f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- "v*.*.*"

jobs:
publish:
name: Create new github release
Expand All @@ -21,12 +22,12 @@ jobs:
run: cat Release.txt
- name: Pre-release
uses: softprops/action-gh-release@v1
if: github.ref.includes('-') === true
if: contains(github.ref, '-') == true
with:
files: Release.txt
prerelease: true
- name: Release
uses: softprops/action-gh-release@v1
if: github.ref.includes('-') === false
if: contains(github.ref, '-') == false
with:
files: Release.txt

0 comments on commit 49a541f

Please sign in to comment.