We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94254cf commit c945124Copy full SHA for c945124
Makefile
@@ -7,6 +7,7 @@ fmt:
7
test:
8
go test ./... -v
9
10
+release: VERSION := $(shell cat ./VERSION)
11
release:
12
git tag -a $(VERSION) -m "Release" || true
13
git push origin $(VERSION)
VERSION
@@ -0,0 +1 @@
1
+0.0.1
main.go
@@ -9,12 +9,13 @@ import (
var (
version = "dev"
+ commit = "HEAD"
)
14
15
func main() {
16
app := cli.NewApp()
17
- app.Version = version
18
+ app.Version = version + " - " + commit
19
app.Usage = "edit recorded asciinema casts"
20
app.Description = `asciinema-edit provides missing features from the "asciinema" tool
21
when it comes to editing a cast that has already been recorded.`
0 commit comments