Skip to content

Commit

Permalink
Action Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jfinstrom committed Mar 1, 2024
1 parent c7b3368 commit a6061cf
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/signrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,8 @@ jobs:
- name: Push signed module to releases
if: startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/bugfix/') || startsWith(github.ref, 'refs/heads/feature/')
uses: softprops/action-gh-release@4634c16e79c963813287e889244c50009e7f0981
env:
IS_RELEASE_BRANCH: ${{ startsWith(github.ref_name, 'release') }}
IS_BUGFIX_BRANCH: ${{ startsWith(github.ref_name, 'bugfix') }}
IS_FEATURE_BRANCH: ${{ startsWith(github.ref_name, 'feature') }}
with:
files: ${{env.MODULE_RAWNAME}}-${{env.MODULE_VERSION}}.tar.gz
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: v${{env.MODULE_VERSION}}
name: |
${{ env.IS_RELEASE_BRANCH && format('Release {0}', env.MODULE_VERSION) }}
${{ env.IS_BUGFIX_BRANCH && format('Bugfix Release {0}', env.MODULE_VERSION) }}
${{ env.IS_FEATURE_BRANCH && format('Feature Release {0}', env.MODULE_VERSION) }}
prerelease: ${{ env.IS_BUGFIX_BRANCH || env.IS_FEATURE_BRANCH }}
name: Release v${{env.MODULE_VERSION}}

0 comments on commit a6061cf

Please sign in to comment.