Browse Source

Merge branch 'pkg_automation_electrum' into v0.24

v0.25
pbca26 7 years ago
committed by GitHub
parent
commit
4b758602dc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 26
      binary_artifacts.sh
  2. 4
      buildscripts/easydex-build.sh
  3. 5
      buildscripts/electron-build-linux.sh
  4. 3
      buildscripts/electron-build-osx.sh
  5. 5
      buildscripts/electron-build-windows.sh
  6. 2
      version_build

26
binary_artifacts.sh

@ -18,18 +18,19 @@ pwd
echo ========================================= echo =========================================
echo Step: Permission +x for OSX binaries from artifacts to assets/bin/osx/ echo Step: Permission +x for OSX binaries from artifacts to assets/bin/osx/
echo echo
chmod +x assets/artifacts.supernet.org/latest/osx/iguana \ rm assets/artifacts.supernet.org/latest/osx/iguana
assets/artifacts.supernet.org/latest/osx/komodo* chmod +x assets/artifacts.supernet.org/latest/osx/komodo*
#cp -rvf assets/artifacts.supernet.org/latest/osx/* assets/bin/osx/
mkdir assets/bin mkdir assets/bin
echo Moving OSX bins to assets/bin mv assets/artifacts.supernet.org/latest/osx assets/bin/osx
wget https://supernetorg.bintray.com/binaries/komodo_OSX_latest.zip
checksum=`shasum -a 256 komodo_OSX_latest.zip | awk '{ print $1 }'` echo Moving legacy libs to assets/bin
if [ "$checksum" = "c20a1b7268dd0d9bbc8984a0e76cc868d8b4479af18cd1dde4406f63b7f12255" ]; then wget https://supernetorg.bintray.com/misc/libs_legacy_osx.zip
checksum=`shasum -a 256 libs_legacy_osx.zip | awk '{ print $1 }'`
if [ "$checksum" = "e9474aa243694a2d4c87fccc443e4b16a9a5172a24da76af9e5ecddd006649bb" ]; then
echo "Checksum is correct." echo "Checksum is correct."
unzip komodo_OSX_latest.zip unzip libs_legacy_osx.zip
mv komodo_OSX_latest assets/bin/osx cp -rvf libs_legacy_osx/* assets/bin/osx/.
else else
echo "Checksum is incorrect!" echo "Checksum is incorrect!"
exit 0 exit 0
@ -37,16 +38,17 @@ fi
echo ========================================= echo =========================================
echo Step: Moving Windows binaries from artifacts to assets/bin/win64/ echo Step: Moving Windows binaries from artifacts to assets/bin/win64/
#echo #echo
rm assets/artifacts.supernet.org/latest/windows/iguana
mv assets/artifacts.supernet.org/latest/windows assets/bin/win64 mv assets/artifacts.supernet.org/latest/windows assets/bin/win64
echo echo
echo ========================================= echo =========================================
echo Step: Permissions +x for linux64 binaries from artifacts to assets/bin/linux64 echo Step: Permissions +x for linux64 binaries from artifacts to assets/bin/linux64
echo echo
chmod +x assets/artifacts.supernet.org/latest/linux/iguana \ rm assets/artifacts.supernet.org/latest/linux/iguana
assets/artifacts.supernet.org/latest/linux/komodo* chmod +x assets/artifacts.supernet.org/latest/linux/komodo*
echo Moving Linux bins to assets/bin echo Moving Linux bins to assets/bin
mv assets/artifacts.supernet.org/latest/linux assets/bin/linux64/ mv assets/artifacts.supernet.org/latest/linux assets/bin/linux64/
echo echo
echo ========================================= echo =========================================
echo Step: Finished Updating binaries from artifacts echo Step: Finished Updating binaries from artifacts
echo echo

4
buildscripts/easydex-build.sh

@ -9,8 +9,8 @@ echo "Building EasyDEX-GUI"
echo "Actual directory is: ${PWD}" echo "Actual directory is: ${PWD}"
echo "Checkout to redux branch." echo "Checkout to redux branch."
git checkout redux git checkout electrum
git pull origin redux git pull origin electrum
[ -d react ] && cd react || echo "!!! I can't find react" [ -d react ] && cd react || echo "!!! I can't find react"
echo "Actual directory is: ${PWD}" echo "Actual directory is: ${PWD}"

5
buildscripts/electron-build-linux.sh

@ -15,4 +15,7 @@ electron-packager . --platform=linux --arch=x64 \
--buildVersion=$AGAMA_VERSION \ --buildVersion=$AGAMA_VERSION \
--ignore=assets/bin/win64 \ --ignore=assets/bin/win64 \
--ignore=assets/bin/osx \ --ignore=assets/bin/osx \
--overwrite --ignore=react/node_modules \
--ignore=react/src \
--ignore=react/www \
--overwrite

3
buildscripts/electron-build-osx.sh

@ -14,4 +14,7 @@ electron-packager . --platform=darwin --arch=x64 \
--out=build/ --buildVersion=$AGAMA_VERSION \ --out=build/ --buildVersion=$AGAMA_VERSION \
--ignore=assets/bin/win64 \ --ignore=assets/bin/win64 \
--ignore=assets/bin/linux64 \ --ignore=assets/bin/linux64 \
--ignore=react/node_modules \
--ignore=react/src \
--ignore=react/www \
--overwrite --overwrite

5
buildscripts/electron-build-windows.sh

@ -16,10 +16,13 @@ electron-packager . --platform=win32 \
--buildVersion=$AGAMA_VERSION \ --buildVersion=$AGAMA_VERSION \
--ignore=assets/bin/osx \ --ignore=assets/bin/osx \
--ignore=assets/bin/linux64 \ --ignore=assets/bin/linux64 \
--ignore=react/node_modules \
--ignore=react/src \
--ignore=react/www \
--overwrite \ --overwrite \
--version-string.CompanyName="SuperNET" \ --version-string.CompanyName="SuperNET" \
--version-string.FileDescription="Agama" \ --version-string.FileDescription="Agama" \
--version-string.OriginalFilename="Agama" \ --version-string.OriginalFilename="Agama" \
--version-string.ProductName="Agama" \ --version-string.ProductName="Agama" \
--version-string.InternalName="Agama" \ --version-string.InternalName="Agama" \
--app-copyright="Copyright (C) 2017 SuperNET. All rights reserved." --app-copyright="Copyright (C) 2017 SuperNET. All rights reserved."

2
version_build

@ -1 +1 @@
0.2.0.24b-beta 0.2.0.24b-beta
Loading…
Cancel
Save