Set development version v0.13.0-next
This commit is contained in:
parent
f213fe3dfa
commit
1806273f2f
|
@ -28,7 +28,7 @@ const programName = `ipfs-cluster-ctl`
|
|||
|
||||
// Version is the cluster-ctl tool version. It should match
|
||||
// the IPFS cluster's version
|
||||
const Version = "0.13.0-dev"
|
||||
const Version = "0.13.0-next"
|
||||
|
||||
var (
|
||||
defaultHost = "/ip4/127.0.0.1/tcp/9094"
|
||||
|
|
|
@ -16,14 +16,14 @@ sed -i "s/Version = semver\.MustParse.*$/Version = semver.MustParse(\"$version\"
|
|||
sed -i "s/const Version.*$/const Version = \"$version\"/" cmd/ipfs-cluster-ctl/main.go
|
||||
git add version/version.go cmd/ipfs-cluster-ctl/main.go
|
||||
|
||||
# Dev versions, just commit
|
||||
if [[ "$version" == *"-dev" ]]; then
|
||||
# Next versions, just commit
|
||||
if [[ "$version" == *"-next" ]]; then
|
||||
git commit -S -m "Set development version v${version}"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# RC versions, commit and make a non-annotated tag.
|
||||
if [[ "$version" == *"-dev" ]]; then
|
||||
if [[ "$version" == *"-rc"* ]]; then
|
||||
git commit -S -m "Release candidate v${version}"
|
||||
git tag -s "v${version}"
|
||||
exit 0
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
)
|
||||
|
||||
// Version is the current cluster version.
|
||||
var Version = semver.MustParse("0.13.0-dev")
|
||||
var Version = semver.MustParse("0.13.0-next")
|
||||
|
||||
// RPCProtocol is protocol handler used to send libp2p-rpc messages between
|
||||
// cluster peers. All peers in the cluster need to speak the same protocol
|
||||
|
|
Loading…
Reference in New Issue
Block a user