Skip to content

Commit

Permalink
chore: configure semantic-release/github plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Jan 23, 2025
1 parent be17c4f commit b8d1812
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ steps.token.outputs.token }}

- if: ${{ steps.release.outputs.new_release_published == 'true' }}
run: |
gh release upload "$TAG" ./*-binaries/restyler-*.tar.gz
env:
TAG: ${{ steps.release.outputs.new_release_git_tag }}
GH_TOKEN: ${{ github.token }}
# - if: ${{ steps.release.outputs.new_release_published == 'true' }}
# run: |
# gh release upload "$TAG" ./*-binaries/restyler-*.tar.gz
# env:
# TAG: ${{ steps.release.outputs.new_release_git_tag }}
# GH_TOKEN: ${{ github.token }}

docs:
needs: [build]
Expand Down
5 changes: 4 additions & 1 deletion .releaserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ tagFormat: "v0.${version}" # PVP prefixed
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/github"
- "@semantic-release/github":
assets:
- path: "*-binaries/restyler-*.tar.gz"
successComment: false

branches:
- main
Expand Down

0 comments on commit b8d1812

Please sign in to comment.