Skip to content

Commit a06735d

Browse files
committed
feat: release rules + bump version to 0.1.1
1 parent 7009e58 commit a06735d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Makefile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
PREFIX = /usr/local
2+
VERSION = v0.1.1
23

34
build:
45
go build .
@@ -17,6 +18,23 @@ uninstall:
1718
rm --force ${PREFIX}/bin/themr
1819
rm --force ${PREFIX}/share/zsh/site-functions/_themr
1920

21+
binary-release: build
22+
tar -czf themr-${VERSION}-$(uname --machine).tar.gz themr
23+
24+
source-release:
25+
tar -czf themr_${VERSION}_source.tar.gz \
26+
themr.go \
27+
genericMap.go \
28+
config/config.go \
29+
go.mod \
30+
go.sum \
31+
_themr \
32+
Makefile \
33+
example_themes.yaml \
34+
example_configs.yaml \
35+
LICENSE \
36+
README.md
37+
2038
clean:
2139
rm --force themr
2240

0 commit comments

Comments
 (0)