Skip to content

Commit a862b5b

Browse files
committedJan 11, 2025·
fix: tags
1 parent 0615131 commit a862b5b

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed
 

‎Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ default:
33
go vet ./...
44
go test ./...
55

6+
.PHONY: release
67
release:
7-
go install github.com/ffurrer2/semver/v2/cmd/semver@latest
8-
git tag v$(semver next patch $(git tag|sort -V|tail -n1|cut -c 2-))
9-
git push --tags
8+
./release

‎release

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
set -eux -o pipefail
3+
4+
go install github.com/ffurrer2/semver/v2/cmd/semver@latest
5+
git tag v$(semver next patch $(git tag|sort -V|tail -n1|cut -c 2-))
6+
git push --tags

0 commit comments

Comments
 (0)
Please sign in to comment.