smarter v0.6.28

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-07 11:06:58 -07:00
parent fe93df97aa
commit 93501675b9
4 changed files with 6 additions and 2 deletions

View File

@ -54,6 +54,8 @@ tag-version:
git tag v${VERSION} git tag v${VERSION}
git push --tags git push --tags
cp .git/refs/tags/v${VERSION} resources/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 (?) # should update every go dependancy (?)
update: update:

View File

@ -143,7 +143,8 @@ func setbuilddir() {
func upload(tag string) { func upload(tag string) {
mirrors := "root@mirrors.wit.com:/data/mirrors/cloud/control-panel/linux/" 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 cloud-control-panel " + mirrors)
shell.Run("scp resources/BUILDDATE " + mirrors + filename + "-v" + tag + ".BUILDDATE") shell.Run("scp resources/BUILDDATE " + mirrors + filename + "-v" + tag + ".BUILDDATE")
shell.Run("scp cloud-control-panel " + mirrors + filename + "-v" + tag) shell.Run("scp cloud-control-panel " + mirrors + filename + "-v" + tag)

View File

@ -1 +1 @@
0.6.27 0.6.28

1
resources/tags/v0.6.27 Normal file
View File

@ -0,0 +1 @@
fe93df97aa61e9cf88ae183bbe62873a7eb7d657