Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions scripts/release_ppa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,24 @@ keyid=703F83D0
email=builds@ethereum.org
packagename=solc

for distribution in trusty vivid xenial yakkety zesty
for distribution in trusty vivid xenial zesty
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yaketty was removed from the ppa?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ubuntu does not accept any packages for yaketty anymore.

do
cd /tmp/
rm -rf $distribution
mkdir $distribution
cd $distribution

# Dependency
if [ $distribution = trusty -o $distribution = vivid ]
then
Z3DEPENDENCY=""
else
Z3DEPENDENCY="libz3-dev,
"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks so weird but I guess the package format depends on it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if it is required but wanted to keep it properly indented.

fi

# Fetch source
git clone --recursive https://github.com/ethereum/solidity.git -b "$branch"
git clone --depth 2 --recursive https://github.com/ethereum/solidity.git -b "$branch"
mv solidity solc

# Fetch jsoncpp dependency
Expand Down Expand Up @@ -102,7 +112,7 @@ Source: solc
Section: science
Priority: extra
Maintainer: Christian (Buildserver key) <builds@ethereum.org>
Build-Depends: debhelper (>= 9.0.0),
Build-Depends: ${Z3DEPENDENCY}debhelper (>= 9.0.0),
cmake,
g++-4.8,
git,
Expand Down