forked from etotheipi/BitcoinArmory
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.91-beta! Fixed version notify, and release scripts
- Loading branch information
Alan Reiner
committed
Apr 6, 2014
1 parent
7613f63
commit f5f662f
Showing
8 changed files
with
82 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,25 @@ | ||
# stub | ||
import subprocess | ||
import os | ||
import time | ||
import sys | ||
import shutil | ||
import ast | ||
import fetchInstallers | ||
from release_utils import execAndWait | ||
|
||
CLONE_URL = 'https://github.com/etotheipi/BitcoinArmory.git' | ||
|
||
verStr = sys.argv[1] | ||
typeStr = sys.argv[2] | ||
localDir = sys.argv[3] | ||
|
||
|
||
fetchInstallers.doFetch() | ||
cloneDir = os.path.join(localDir, 'BitcoinArmory') | ||
rscrDir = os.path.join(localDir, 'release_scripts') | ||
|
||
execAndWait(['git', 'clone', CLONE_URL, cloneDir]) | ||
shutil.copytree('../release_scripts', rscrDir) | ||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ArmoryTesting 0.90.99.7 https://s3.amazonaws.com/bitcoinarmory-testing/ | ||
|
||
armory_%ver-testing_64bit.deb Ubuntu 12.04,12.10,13.04,13.10,14.10 64 | ||
armory_%ver-testing_32bit.deb Ubuntu 12.04,12.10,13.04,13.10,14.10 32 | ||
armory_%ver-testing_osx.tar.gz MacOSX 10.7,10.8,10.9,10.9.1,10.9.2 64 | ||
armory_%ver-testing_raspbian.tar.gz RaspberryPi Raspbian(armhf) 32 | ||
armory_%ver-testing_winAll.exe Windows XP,Vista,7,8,8.1 32,64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import subprocess | ||
import os | ||
import time | ||
import sys | ||
import shutil | ||
import ast | ||
from release_utils import execAndWait | ||
|
||
verStr = sys.argv[1] | ||
typeStr = sys.argv[2] | ||
localDir = sys.argv[3] | ||
|
||
|
||
|
||
def doFetch(): | ||
|
||
fetchList = ast.literal_eval(open('fetchlist.txt','r').read().strip()) | ||
|
||
if os.path.exists(localDir): | ||
shutil.rmtree(localDir) | ||
os.mkdir(localDir) | ||
|
||
|
||
for cmd,cplist in fetchList.iteritems(): | ||
if cmd=='cp': | ||
for src,dst in cplist: | ||
src_ = src%verStr | ||
dst_ = os.path.join(localDir, dst%(verStr,typeStr)) | ||
print 'Copying: %s --> %s' % (src_,dst_) | ||
shutil.copy(src_,dst_) | ||
if cmd=='scp': | ||
for usr,ip,port,path,rllist in cplist: | ||
for rem,loc in rllist: | ||
|
||
remotePath = os.path.join(path, rem%verStr) | ||
hostPath = '%s@%s:%s' % (usr,ip,remotePath) | ||
localPath = os.path.join(localDir, loc % (verStr,typeStr)) | ||
|
||
cmdList = ['scp', '-P', str(port), hostPath, localPath] | ||
#print ' '.join(cmdList) | ||
execAndWait(cmdList) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters