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