Skip to content

Commit

Permalink
Allow releasing on develop branch as prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Mar 6, 2024
1 parent 62041c2 commit 0e0a34c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- develop
paths-ignore:
- '**.md'
- 'versions.yml'
Expand Down Expand Up @@ -84,7 +85,7 @@ jobs:
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
prerelease: "${{ github.ref == 'refs/heads/develop' }}"
automatic_release_tag: v${{ steps.extract_version.outputs.version }}
files: |
releases/*
Expand Down

0 comments on commit 0e0a34c

Please sign in to comment.