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

fix: goreleaser release automation #94

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ jobs:
- name: Bump tag if necessary
id: tag
run: |
if [ -z $(git tag -l $(git-semver)) ]; then
git tag $(git-semver)
nextver=v$(git-semver)
if [ -z $(git tag -l ${nextver}) ]; then
git tag ${nextver}
git push --tags
echo "new=true" >> $GITHUB_OUTPUT
fi
Expand Down
4 changes: 3 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
builds:
- id: onionpipe
binary: onionpipe
Expand All @@ -9,7 +10,8 @@ builds:
- amd64

brews:
- tap:
- name: onionpipe
repository:
owner: cmars
name: homebrew-onionpipe
branch: main
Expand Down