Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Action to support releases on tags #26

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

Pokom
Copy link
Contributor

@Pokom Pokom commented Jan 23, 2025

Introduces a new action 'release' which is triggered by changes that have tags prefixed with v.
This triggers a goreleaser build that creates an executable and uploads the changes as a release to GitHub. Adds documentation on how to create a release.

Introduces a new action 'release' which is triggered by changes that
have tags prefixed with `v`.
This triggers a [goreleaser](https://goreleaser.com/) build that creates
an executable and uploads the changes as a release to GitHub.
Adds documentation on how to create a release.
@Pokom Pokom requested a review from a team as a code owner January 23, 2025 10:57
@@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is updating the action to pin to a commit sha instead of tag, which is considered best practice.

@Pokom Pokom merged commit bd7d3e0 into main Jan 23, 2025
2 checks passed
@Pokom Pokom deleted the setup-release-workflows branch January 23, 2025 11:14
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