Skip to content

Commit

Permalink
Merge pull request ethereum#859 from chriseth/fixppa
Browse files Browse the repository at this point in the history
Fix ppa script
  • Loading branch information
chriseth authored Aug 10, 2016
2 parents 3fc68da + ba4cfda commit 988fe5e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Features:

Bugfixes:

### 0.3.6 (2016-08-08)
### 0.3.6 (2016-08-10)

Features:

Expand Down
9 changes: 6 additions & 3 deletions scripts/release_ppa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ else
fi

if [ "$branch" = develop ]
then
pparepo=ethereum/ethereum-dev
ppafilesurl=https://launchpad.net/~ethereum/+archive/ubuntu/ethereum-dev/+files
else
Expand Down Expand Up @@ -57,7 +58,7 @@ commitdate=`git show --format=%ci HEAD | head -n 1 | cut - -b1-10`

# TODO store the commit hash in a file so that the build info mechanism can pick it up even without git

if [ $branch = develop]
if [ $branch = develop ]
then
debversion="$version-nightly-$commitdate-$commithash"
else
Expand All @@ -67,7 +68,7 @@ fi
# gzip will create different tars all the time and we are not allowed
# to upload the same file twice with different contents, so we only
# create it once.
if [ -n -e /tmp/${packagename}_${debversion}.orig.tar.gz ]
if [ ! -e /tmp/${packagename}_${debversion}.orig.tar.gz ]
then
tar --exclude .git -czf /tmp/${packagename}_${debversion}.orig.tar.gz .
fi
Expand Down Expand Up @@ -117,6 +118,8 @@ Package: solc
Architecture: any-i386 any-amd64
Multi-Arch: same
Depends: \${shlibs:Depends}, \${misc:Depends}, $jsoncpplib
Replaces: lllc (<< 1:0.3.6)
Conflicts: libethereum (<= 1.2.9)
Description: Solidity compiler.
The commandline interface to the Solidity smart contract compiler.
EOF
Expand Down Expand Up @@ -194,7 +197,7 @@ mkdir debian/source
echo "3.0 (quilt)" > debian/source/format
chmod +x debian/rules

versionsuffix=0ubuntu4~${distribution}
versionsuffix=0ubuntu1~${distribution}
# bump version / add entry to changelog
EMAIL="$email" dch -v 1:${debversion}-${versionsuffix} "git build of ${commithash}"

Expand Down

0 comments on commit 988fe5e

Please sign in to comment.