Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kubo_final
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anastasiia Chirikova
kubo_final
Commits
6976ca74
Commit
6976ca74
authored
9 years ago
by
Jeromy Johnson
Browse files
Options
Downloads
Patches
Plain Diff
fix makefile failing when not in a git repo
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
057f0e28
No related branches found
No related tags found
1 merge request
!1
New
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmd/ipfs/Makefile
+1
-1
1 addition, 1 deletion
cmd/ipfs/Makefile
repo/config/version.go
+1
-1
1 addition, 1 deletion
repo/config/version.go
with
2 additions
and
2 deletions
cmd/ipfs/Makefile
+
1
−
1
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
:
...
...
This diff is collapsed.
Click to expand it.
repo/config/version.go
+
1
−
1
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment