Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
6976ca74
Commit
6976ca74
authored
Oct 19, 2015
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix makefile failing when not in a git repo
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
057f0e28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cmd/ipfs/Makefile
cmd/ipfs/Makefile
+1
-1
repo/config/version.go
repo/config/version.go
+1
-1
No files found.
cmd/ipfs/Makefile
View file @
6976ca74
all
:
install
commit
=
`
git rev-parse
--short
HEAD
`
commit
=
$(
shell
git rev-parse
--short
HEAD
2> /dev/null
||
echo
unknown
)
ldflags
=
"-X "
github.com/ipfs/go-ipfs/repo/config
".CurrentCommit=
$(commit)
"
build
:
...
...
repo/config/version.go
View file @
6976ca74
...
...
@@ -8,7 +8,7 @@ import (
)
// CurrentVersionNumber is the current application's version literal
const
CurrentVersionNumber
=
"0.3.
8
"
const
CurrentVersionNumber
=
"0.3.
9-dev
"
// CurrentCommit is the current git commit, this is set as a ldflag in the Makefile
var
CurrentCommit
string
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment