aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/release_ppa.sh
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-07-04 02:39:12 +0800
committerchriseth <chris@ethereum.org>2017-07-04 18:12:37 +0800
commit758ad3594d9869ca7a49d5c12120d30e5d18265d (patch)
tree992e681a5863b3536353c2b25bed08e6dd2fa992 /scripts/release_ppa.sh
parent2222ddecf49b5b901f63b9e7449ee76c9f51c47a (diff)
downloaddexon-solidity-758ad3594d9869ca7a49d5c12120d30e5d18265d.tar
dexon-solidity-758ad3594d9869ca7a49d5c12120d30e5d18265d.tar.gz
dexon-solidity-758ad3594d9869ca7a49d5c12120d30e5d18265d.tar.bz2
dexon-solidity-758ad3594d9869ca7a49d5c12120d30e5d18265d.tar.lz
dexon-solidity-758ad3594d9869ca7a49d5c12120d30e5d18265d.tar.xz
dexon-solidity-758ad3594d9869ca7a49d5c12120d30e5d18265d.tar.zst
dexon-solidity-758ad3594d9869ca7a49d5c12120d30e5d18265d.zip
Some fixes for the PPA release scripts.
Diffstat (limited to 'scripts/release_ppa.sh')
-rwxr-xr-xscripts/release_ppa.sh24
1 files changed, 20 insertions, 4 deletions
diff --git a/scripts/release_ppa.sh b/scripts/release_ppa.sh
index 7c9abecb..4fae90ef 100755
--- a/scripts/release_ppa.sh
+++ b/scripts/release_ppa.sh
@@ -15,6 +15,21 @@
## It will clone the Solidity git from github, determine the version,
## create a source archive and push it to the ubuntu ppa servers.
##
+## This requires the following entries in /etc/dput.cf:
+##
+## [ethereum-dev]
+## fqdn = ppa.launchpad.net
+## method = ftp
+## incoming = ~ethereum/ethereum-dev
+## login = anonymous
+##
+## [ethereum]
+## fqdn = ppa.launchpad.net
+## method = ftp
+## incoming = ~ethereum/ethereum
+## login = anonymous
+
+##
##############################################################################
set -ev
@@ -28,10 +43,10 @@ fi
if [ "$branch" = develop ]
then
- pparepo=ethereum/ethereum-dev
+ pparepo=ethereum-dev
ppafilesurl=https://launchpad.net/~ethereum/+archive/ubuntu/ethereum-dev/+files
else
- pparepo=ethereum/ethereum
+ pparepo=ethereum
ppafilesurl=https://launchpad.net/~ethereum/+archive/ubuntu/ethereum/+files
fi
@@ -192,7 +207,8 @@ EMAIL="$email" dch -v 1:${debversion}-${versionsuffix} "git build of ${commithas
# build source package
# If packages is rejected because original source is already present, add
# -sd to remove it from the .changes file
-debuild -S -sa -us -uc
+# -d disables the build dependencies check
+debuild -S -d -sa -us -uc
# prepare .changes file for Launchpad
sed -i -e s/UNRELEASED/${distribution}/ -e s/urgency=medium/urgency=low/ ../*.changes
@@ -223,6 +239,6 @@ fi
debsign --re-sign -k ${keyid} ../${packagename}_${debversion}-${versionsuffix}_source.changes
# upload
-dput ppa:${pparepo} ../${packagename}_${debversion}-${versionsuffix}_source.changes
+dput ${pparepo} ../${packagename}_${debversion}-${versionsuffix}_source.changes
done