release.sh: clean before releasing
License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
This commit is contained in:
parent
847a8a78c4
commit
620886366d
5
Makefile
5
Makefile
|
@ -20,6 +20,9 @@ clean: rwundo clean_sharness
|
|||
$(MAKE) -C ipfs-cluster-service clean
|
||||
$(MAKE) -C ipfs-cluster-ctl clean
|
||||
|
||||
gx-clean: clean
|
||||
@rm -f $(deptools)/*
|
||||
|
||||
install: deps
|
||||
$(MAKE) -C ipfs-cluster-service install
|
||||
$(MAKE) -C ipfs-cluster-ctl install
|
||||
|
@ -91,4 +94,4 @@ rwundo: gx
|
|||
$(gx-go_bin) rewrite --undo
|
||||
publish: rwundo
|
||||
$(gx_bin) publish
|
||||
.PHONY: all gx deps test test_sharness clean_sharness rw rwundo publish service ctl install clean
|
||||
.PHONY: all gx deps test test_sharness clean_sharness rw rwundo publish service ctl install clean gx-clean
|
||||
|
|
|
@ -9,6 +9,7 @@ if [ -z $version ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
make gx-clean
|
||||
sed -i "s/const Version.*$/const Version = \"$version\"/" version.go
|
||||
sed -i "s/const Version.*$/const Version = \"$version\"/" ipfs-cluster-ctl/main.go
|
||||
git commit -S -a -m "Release $version"
|
||||
|
|
Loading…
Reference in New Issue
Block a user