Skip to content

Commit

Permalink
Change bump_version to manual editing
Browse files Browse the repository at this point in the history
  • Loading branch information
mat committed Apr 17, 2017
1 parent c4355d3 commit 245bf8c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,7 @@ build_docker_image: build_linux_amd64
new_release: bump_version rewrite-version.go git_tag_version

bump_version:
cat VERSION
head -n1 VERSION | awk -F. '{$$NF = $$NF + 1;} 1' | sed 's/ /./g' > NEW_VERSION
mv NEW_VERSION VERSION
cat VERSION
vi VERSION

rewrite-version.go:
echo "package besticon\n\n// Version string, same as VERSION, generated my Make\nconst VersionString = \"`cat VERSION`\"" > besticon/version.go
Expand Down

0 comments on commit 245bf8c

Please sign in to comment.