Skip to content

Commit

Permalink
gh: workflow release by branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Dj-Codeman committed Dec 4, 2024
1 parent e153b5e commit f2cbb98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
echo "CHANGELOG=$CHANGELOG" >> $GITHUB_ENV
- name: Create Draft Release
if: ${{ startsWith(github.ref, 'refs/tags/') }}
if: ${{ startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/release' }}
uses: softprops/action-gh-release@v1
with:
draft: true
Expand Down

0 comments on commit f2cbb98

Please sign in to comment.