Skip to content

Commit

Permalink
Merge pull request #17 from SergioRibera/custom_changelog
Browse files Browse the repository at this point in the history
Update ci
  • Loading branch information
romancitodev authored Jul 25, 2024
2 parents 390434a + 2f817dd commit 10d4101
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,21 @@ jobs:
gh release create "${{ needs.plan.outputs.tag }}" --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/*
custom-gen_changelog:
needs:
- plan
- build-local-artifacts
- build-global-artifacts
uses: ./.github/workflows/gen_changelog.yml
with:
plan: ${{ needs.plan.outputs.val }}
secrets: inherit

publish-homebrew-formula:
needs:
- plan
- host
- custom-gen_changelog
runs-on: "ubuntu-20.04"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -309,6 +320,7 @@ jobs:
- plan
- host
- publish-homebrew-formula
- custom-gen_changelog
# use "always() && ..." to allow us to wait for all publish jobs while
# still allowing individual publish jobs to skip themselves (for prereleases).
# "host" however must run to completion, no skipping allowed!
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ installers = ["shell", "powershell", "homebrew", "msi"]
tap = "romancitodev/homebrew-tap"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# Build Changelog
# Host jobs to run in CI
host-jobs = ["./gen_changelog"]
# Publish jobs to run in CI
publish-jobs = ["homebrew"]
Expand Down

0 comments on commit 10d4101

Please sign in to comment.