diff --git a/Makefile b/Makefile index b30e5cf..0602a82 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,8 @@ tag-version: git tag v${VERSION} git push --tags cp .git/refs/tags/v${VERSION} resources/tags/ + scp resources/VERSION root@mirrors.wit.com:/data/mirrors/cloud/control-panel/ + scp resources/VERSION root@mirrors.wit.com:/data/mirrors/cloud/control-panel/linux/ # should update every go dependancy (?) update: diff --git a/autobuild/autobuild.go b/autobuild/autobuild.go index 0370de8..ef170a0 100644 --- a/autobuild/autobuild.go +++ b/autobuild/autobuild.go @@ -143,7 +143,8 @@ func setbuilddir() { func upload(tag string) { mirrors := "root@mirrors.wit.com:/data/mirrors/cloud/control-panel/linux/" - shell.Run("scp resources/VERSION " + mirrors) + // don't update the master VERSION here + // shell.Run("scp resources/VERSION " + mirrors) shell.Run("scp cloud-control-panel " + mirrors) shell.Run("scp resources/BUILDDATE " + mirrors + filename + "-v" + tag + ".BUILDDATE") shell.Run("scp cloud-control-panel " + mirrors + filename + "-v" + tag) diff --git a/resources/VERSION b/resources/VERSION index c1e4fc8..9c4bb2c 100644 --- a/resources/VERSION +++ b/resources/VERSION @@ -1 +1 @@ -0.6.27 +0.6.28 diff --git a/resources/tags/v0.6.27 b/resources/tags/v0.6.27 new file mode 100644 index 0000000..eb7b9f6 --- /dev/null +++ b/resources/tags/v0.6.27 @@ -0,0 +1 @@ +fe93df97aa61e9cf88ae183bbe62873a7eb7d657