Skip to content

Commit

Permalink
Implement simple releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
carhartl committed Nov 17, 2024
1 parent 5f7eed3 commit b270517
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
version: 2
project_name: git-wip
builds:
- main: .
env: [CGO_ENABLED=0]
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
brews:
- name: git-wip
repository:
owner: carhartl
name: homebrew-tap
7 changes: 7 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

set -eu

git tag "v$1" -m "Release v$1"
git push --tags
goreleaser release --clean

0 comments on commit b270517

Please sign in to comment.