parent
fe93df97aa
commit
93501675b9
2
Makefile
2
Makefile
|
@ -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:
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.6.27
|
0.6.28
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
fe93df97aa61e9cf88ae183bbe62873a7eb7d657
|
Loading…
Reference in New Issue