Skip to content

Commit

Permalink
Publish release support in GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
abdolence committed Aug 4, 2024
1 parent 35e53f1 commit 6a83124
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: release
on:
push:
tags:
- "v*"
- "v*.*.*"
- "test-release"
env:
CRATE_NAME: redacter
Expand Down Expand Up @@ -125,3 +125,9 @@ jobs:
matrix.platform.os == 'macOS-latest' &&
( startsWith( github.ref, 'refs/tags/v' ) ||
github.ref == 'refs/tags/test-release' )
- name: Publish GitHub release
uses: softprops/action-gh-release@v2
with:
draft: true
files: "redacter-*"
if: matrix.toolchain == 'stable' && startsWith( github.ref, 'refs/tags/v' )

0 comments on commit 6a83124

Please sign in to comment.