summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick Gerace <nickagerace@gmail.com>2020-09-02 01:24:22 -0400
committerNick Gerace <39320683+nickgerace@users.noreply.github.com>2020-09-02 01:31:27 -0400
commitd690feada818f2d60b09a8b104f83b9747072a25 (patch)
tree2149315db5bd34981787721d9868f67fabbdea55 /Makefile
parent50dc59bf472180abd91037ce40cb6b24dd4aa179 (diff)
downloadgfold-d690feada818f2d60b09a8b104f83b9747072a25.zip
Update to 0.5.0
Update to 0.5.0. Update README to reflect features added, changed, and removed from 0.4.0.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 9e606fa..32419d8 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
MAKEPATH:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
NAME:=gfold
-VERSION:=0.4.0
+VERSION:=0.5.0
run:
@cd $(MAKEPATH); cargo run -- ..
@@ -39,12 +39,6 @@ test:
tree:
cd $(MAKEPATH); cargo tree
-prepare-release:
- @printf "Change version at the following locations...\n"
- @printf " Makefile\n README.md\n main.rs\n"
- @printf "Then, run the following command...\n"
- @printf " time make build-release\n"
-
tag:
cd $(MAKEPATH); git tag $(VERSION)
cd $(MAKEPATH); git push --tags origin master
@@ -56,3 +50,14 @@ fixme:
--exclude=CHANGELOG.md \
--color=always \
FIXME $(MAKEPATH)
+
+release:
+ @printf "Change version at the following locations...\n"
+ @printf " Makefile: $(shell grep $(VERSION) $(MAKEPATH)/Makefile)\n"
+ @printf " README.md: $(shell grep $(VERSION) $(MAKEPATH)/README.md)\n"
+ @printf " CHANGELOG.md: $(shell grep $(VERSION) $(MAKEPATH)/CHANGELOG.md)\n"
+ @printf " Cargo.toml: $(shell grep $(VERSION) $(MAKEPATH)/Cargo.toml)\n"
+ @printf "Uncomment the unreleased string in CHANGELOG.md...\n"
+ @printf " <!--The latest version contains all changes.-->\n"
+ @printf "Then, run the following command...\n"
+ @printf " time make build-release\n"