Skip to content

Commit

Permalink
Update publish.yaml and remove release jobs
Browse files Browse the repository at this point in the history
Updated the `args` in the `jobs` section of `publish.yaml` to `-vv --latest --unreleased --strip header` and set the `env` variable `OUTPUT` to `CHANGES.md`. Removed two jobs, `update release` and `update prerelease`, which were using the `tubone24/update_release@v1.0` action and were conditional on the release type. These jobs used the `GITHUB_TOKEN` environment variable set to `secrets.RELEASES_TOKEN` and had their `body` set to the output of `steps.git-cliff.outputs.content`.
  • Loading branch information
marcusbooyah committed Apr 4, 2024
1 parent 6cd2184 commit 82cf299
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
OUTPUT: CHANGES.md

- name: update release
id: update_release
uses: tubone24/update_release@v1.0
if: "!github.event.release.prerelease"
env:
Expand All @@ -72,7 +71,6 @@ jobs:
body: ${{ steps.git-cliff.outputs.content }}

- name: update prerelease
id: update_release
uses: tubone24/update_release@v1.0
if: "github.event.release.prerelease"
env:
Expand Down

0 comments on commit 82cf299

Please sign in to comment.