Skip to content

Add 'publish to brew tap' job - #108

Merged
hatchan merged 10 commits into
mainfrom
publish-to-brew-tap
Jul 25, 2023
Merged

hatchan merged 10 commits into
mainfrom
publish-to-brew-tap

Conversation

@laulauland

@laulauland laulauland commented Jul 24, 2023 •

Copy link
Copy Markdown
Member

This PR introduces a series of enhancements to the release workflow.

  1. Formatting: adds some spacing so actions are a bit more readable.

  2. Output a version: Outputs the version from validate-version job so that future jobs within the workflow can access it.

  3. Artifact Upload: Upload the SHA256 artifacts so that future jobs can access it.

  4. Homebrew Release: The most significant addition is a new job for Homebrew release. This job awaits the completion of the other two jobs, retrieves the version value, prepares a temporary folder, and downloads the necessary artifacts. Once these steps are complete, it triggers the workflow request with the other data. This job automates the process of releasing the project on Homebrew, making it more efficient and less error-prone.

@laulauland
laulauland marked this pull request as ready for review July 24, 2023 17:33
@laulauland
laulauland requested a review from a team as a code owner July 24, 2023 17:33
@laulauland
laulauland force-pushed the publish-to-brew-tap branch from 6c825f6 to 7006b5e Compare July 25, 2023 07:29
Set the key 'version' in the step output

Rename names of steps and jobs

Move uploading to release to a final step, which will also call the homebrew-tap repo
@hatchan
hatchan force-pushed the publish-to-brew-tap branch from f36d168 to d426620 Compare July 25, 2023 08:27
hatchan added 2 commits July 25, 2023 10:35
Ignore certain jobs and steps if not release
@hatchan
hatchan merged commit c385737 into main Jul 25, 2023
@hatchan
hatchan deleted the publish-to-brew-tap branch July 25, 2023 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants