Set development version v0.13.0-next

This commit is contained in:
Hector Sanjuan 2020-05-19 10:10:08 +02:00
parent f213fe3dfa
commit 1806273f2f
No known key found for this signature in database
GPG Key ID: 5C5518D5765D8A12
3 changed files with 5 additions and 5 deletions

View File

@ -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"

View File

@ -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

View File

@ -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