Skip to content

Commit dbeebe8

Browse files
committedOct 19, 2015
Merge pull request #1865 from ipfs/fix/makefile-sha
fix makefile failing when not in a git repo
2 parents 057f0e2 + 6976ca7 commit dbeebe8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎cmd/ipfs/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
all: install
2-
commit = `git rev-parse --short HEAD`
2+
commit = $(shell git rev-parse --short HEAD 2> /dev/null || echo unknown)
33
ldflags = "-X "github.com/ipfs/go-ipfs/repo/config".CurrentCommit=$(commit)"
44

55
build:

‎repo/config/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
)
99

1010
// CurrentVersionNumber is the current application's version literal
11-
const CurrentVersionNumber = "0.3.8"
11+
const CurrentVersionNumber = "0.3.9-dev"
1212

1313
// CurrentCommit is the current git commit, this is set as a ldflag in the Makefile
1414
var CurrentCommit string

0 commit comments

Comments
 (0)
Please sign in to comment.