mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Some improvements to the ppa release script.
This commit is contained in:
parent
26c06550b0
commit
0a3beb72f2
@ -53,7 +53,14 @@ packagename=solc
|
|||||||
|
|
||||||
static_build_distribution=cosmic
|
static_build_distribution=cosmic
|
||||||
|
|
||||||
for distribution in bionic cosmic STATIC
|
DISTRIBUTIONS="bionic cosmic"
|
||||||
|
|
||||||
|
if [ branch != develop ]
|
||||||
|
then
|
||||||
|
DISTRIBUTIONS="$DISTRIBUTIONS STATIC"
|
||||||
|
fi
|
||||||
|
|
||||||
|
for distribution in $DISTRIBUTIONS
|
||||||
do
|
do
|
||||||
cd /tmp/
|
cd /tmp/
|
||||||
rm -rf $distribution
|
rm -rf $distribution
|
||||||
@ -96,7 +103,7 @@ commitdate=$(git show --format=%ci HEAD | head -n 1 | cut - -b1-10 | sed -e 's/-
|
|||||||
echo "$commithash" > commit_hash.txt
|
echo "$commithash" > commit_hash.txt
|
||||||
if [ $branch = develop ]
|
if [ $branch = develop ]
|
||||||
then
|
then
|
||||||
debversion="$version-develop-$commitdate-$commithash"
|
debversion="$version~develop-$commitdate-$commithash"
|
||||||
else
|
else
|
||||||
debversion="$version"
|
debversion="$version"
|
||||||
echo -n > prerelease.txt # proper release
|
echo -n > prerelease.txt # proper release
|
||||||
|
Loading…
Reference in New Issue
Block a user