Commit 9fa0d56 1 parent 753a004 commit 9fa0d56 Copy full SHA for 9fa0d56
File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -5,22 +5,21 @@ package = github.com/snoby/mkv2Appletv
5
5
MAKE =make
6
6
BIN =mkv2Appletv
7
7
BUILD =` git rev-parse HEAD `
8
- VERSION ='0.0.6 '
8
+ VERSION ='0.0.7 '
9
9
10
10
LDFLAGS =-ldflags "-X main.Build=${BUILD}"
11
-
11
+ GOTHUB_OPTIONS ="--user snoby --repo mkv2Appletv --tag ${VERSION}"
12
12
# this makefile uses gothub so your env needs to have the personal access token to upload the release files.
13
13
14
14
.DEFAULT_TARGET : ${BIN}
15
15
16
- tag :
16
+
17
+ github_release : clean install release
17
18
git tag ${VERSION}
18
19
git push --tags
19
-
20
- github_release : clean install release tag
21
- gothub release --tag ${VERSION}
22
- gothub upload --file release/mkv2Appletv-darwin-amd64 --name mkv2Appletv-darwin-amd64
23
- gothub upload --file release/mkv2Appletv-linux-amd64 --name mkv2Appletv-linux-amd64
20
+ gothub release ${GOTHUB_OPTIONS}
21
+ gothub upload ${GOTHUB_OPTIONS} --file release/mkv2Appletv-darwin-amd64 --name mkv2Appletv-darwin-amd64
22
+ gothub upload ${GOTHUB_OPTIONS} --file release/mkv2Appletv-linux-amd64 --name mkv2Appletv-linux-amd64
24
23
25
24
build :
26
25
go build
46
45
47
46
48
47
48
+
Original file line number Diff line number Diff line change 22
22
func main () {
23
23
var ()
24
24
25
- kingpin .Version ("0.0.5 " )
25
+ kingpin .Version ("0.0.7 " )
26
26
app .UsageTemplate (kingpin .SeparateOptionalFlagsUsageTemplate )
27
27
28
28
switch kingpin .MustParse (app .Parse (os .Args [1 :])) {
You can’t perform that action at this time.
0 commit comments