mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
minor fixups
Signed-off-by: RJ Catalano <rj@monax.io>
This commit is contained in:
parent
7ffc6863fb
commit
e884f7a479
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
|
||||
version=version=$(grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? $(dirname "$0")/CMakeLists.txt)
|
||||
version=$(grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? $(dirname "$0")/CMakeLists.txt)
|
||||
if [ "$TRAVIS_BRANCH" == "develop" ]; then
|
||||
docker tag ethereum/solc:build ethereum/solc:nightly;
|
||||
docker tag ethereum/solc:build ethereum/solc:nightly-"$version"-"$TRAVIS_COMMIT"
|
||||
|
@ -57,7 +57,7 @@ detect_linux_distro() {
|
||||
# extract 'foo' from NAME=foo, only on the line with NAME=foo
|
||||
DISTRO=$(sed -n -e 's/^NAME="\(.*\)\"/\1/p' /etc/os-release)
|
||||
elif [ -f /etc/centos-release ]; then
|
||||
DISTRO=CentOS
|
||||
DISTRO=CentOS
|
||||
else
|
||||
DISTRO=''
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user