diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-05-15 19:45:58 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-05-15 19:56:20 +0200 |
commit | 941018cfe5122d4999fb94cfb6a777ad19615452 (patch) | |
tree | c7b30f4501cfb3fb6c499738d89d5e60acec40ef /build | |
parent | 3e9f9ea06b8abb904412acec01b98d2c00f219cd (diff) | |
download | nextcloud-server-941018cfe5122d4999fb94cfb6a777ad19615452.tar.gz nextcloud-server-941018cfe5122d4999fb94cfb6a777ad19615452.zip |
Use DRONE_SOURCE_BRANCH instead of DRONE_COMMIT_REFSPEC
Looks like DRONE_COMMIT_REFSPEC is not available anymore on Drone 1.x
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'build')
-rwxr-xr-x | build/ca-bundle-checker.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/build/ca-bundle-checker.sh b/build/ca-bundle-checker.sh index 4497642fd95..4d11abc2c74 100755 --- a/build/ca-bundle-checker.sh +++ b/build/ca-bundle-checker.sh @@ -1,8 +1,6 @@ #!/usr/bin/env bash -printenv - -if [[ -n ${DRONE_COMMIT_REFSPEC} && ! ${DRONE_COMMIT_REFSPEC} =~ version(\/noid)?\/([0-9.]+) ]]; then +if [[ -n ${DRONE_SOURCE_BRANCH} && ! ${DRONE_SOURCE_BRANCH} =~ version(\/noid)?\/([0-9.]+) ]]; then echo "Skip CA bundle check" exit 0 fi |