commit
a79662912b
7
Makefile
7
Makefile
|
@ -35,7 +35,9 @@ ctl: gx-deps
|
|||
$(MAKE) -C cmd/ipfs-cluster-ctl ipfs-cluster-ctl
|
||||
|
||||
gx-clean: clean
|
||||
ifeq ($(GXENABLED),yes)
|
||||
$(MAKE) -C $(deptools) gx-clean
|
||||
endif
|
||||
|
||||
gx:
|
||||
ifeq ($(GXENABLED),yes)
|
||||
|
@ -84,9 +86,14 @@ clean_sharness:
|
|||
@rm -rf sharness/trash\ directory*
|
||||
|
||||
rw: gx
|
||||
ifeq ($(GXENABLED),yes)
|
||||
$(gx-go) rewrite
|
||||
endif
|
||||
|
||||
rwundo: gx
|
||||
ifeq ($(GXENABLED),yes)
|
||||
$(gx-go) rewrite --undo
|
||||
endif
|
||||
publish: rwundo
|
||||
$(gx) publish
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ const programName = `ipfs-cluster-ctl`
|
|||
|
||||
// Version is the cluster-ctl tool version. It should match
|
||||
// the IPFS cluster's version
|
||||
const Version = "0.10.0"
|
||||
const Version = "0.10.1"
|
||||
|
||||
var (
|
||||
defaultHost = "/ip4/127.0.0.1/tcp/9094"
|
||||
|
|
|
@ -12,7 +12,7 @@ if [ -z $version ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
make gx-clean
|
||||
make clean
|
||||
sed -i "s/Version = semver\.MustParse.*$/Version = semver.MustParse(\"$version\")/" version/version.go
|
||||
sed -i "s/const Version.*$/const Version = \"$version\"/" cmd/ipfs-cluster-ctl/main.go
|
||||
git commit -S -a -m "Release $version"
|
||||
|
@ -22,4 +22,4 @@ echo >> tag_annotation
|
|||
git log --pretty=oneline ${lastver}..HEAD >> tag_annotation
|
||||
git tag -a -s -F tag_annotation v$version
|
||||
rm tag_annotation
|
||||
gx release $version
|
||||
# gx release $version
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
// Version is the current cluster version. Version alignment between
|
||||
// components, apis and tools ensures compatibility among them.
|
||||
var Version = semver.MustParse("0.10.0")
|
||||
var Version = semver.MustParse("0.10.1")
|
||||
|
||||
// RPCProtocol is used to send libp2p messages between cluster peers
|
||||
var RPCProtocol = protocol.ID(
|
||||
|
|
Loading…
Reference in New Issue
Block a user