Force CI_REPO_SLUG
This commit is contained in:
parent
2e1d59ff85
commit
8b3dc2d44b
|
@ -23,10 +23,14 @@ if [[ -z $CI_TAG ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $CI_REPO_SLUG ]]; then
|
# Force CI_REPO_SLUG since sometimes
|
||||||
echo Error: CI_REPO_SLUG not defined
|
# BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG is not set correctly, causing the
|
||||||
exit 1
|
# artifact upload to fail
|
||||||
fi
|
CI_REPO_SLUG=solana-labs/solana
|
||||||
|
#if [[ -z $CI_REPO_SLUG ]]; then
|
||||||
|
# echo Error: CI_REPO_SLUG not defined
|
||||||
|
# exit 1
|
||||||
|
#fi
|
||||||
|
|
||||||
releaseId=$( \
|
releaseId=$( \
|
||||||
curl -s "https://api.github.com/repos/$CI_REPO_SLUG/releases/tags/$CI_TAG" \
|
curl -s "https://api.github.com/repos/$CI_REPO_SLUG/releases/tags/$CI_TAG" \
|
||||||
|
|
Loading…
Reference in New Issue