remove temporary edits
This commit is contained in:
parent
eafcc14f0b
commit
8b2b488d17
@ -804,10 +804,10 @@ workflows:
|
|||||||
- build-all:
|
- build-all:
|
||||||
requires:
|
requires:
|
||||||
- test-short
|
- test-short
|
||||||
# filters:
|
filters:
|
||||||
# tags:
|
tags:
|
||||||
# only:
|
only:
|
||||||
# - /^v\d+\.\d+\.\d+(-rc\d+)?$/
|
- /^v\d+\.\d+\.\d+(-rc\d+)?$/
|
||||||
- build-ntwk-calibration:
|
- build-ntwk-calibration:
|
||||||
requires:
|
requires:
|
||||||
- test-short
|
- test-short
|
||||||
@ -833,35 +833,35 @@ workflows:
|
|||||||
- build-macos:
|
- build-macos:
|
||||||
requires:
|
requires:
|
||||||
- test-short
|
- test-short
|
||||||
# filters:
|
filters:
|
||||||
# branches:
|
branches:
|
||||||
# ignore:
|
ignore:
|
||||||
# - /.*/
|
- /.*/
|
||||||
# tags:
|
tags:
|
||||||
# only:
|
only:
|
||||||
# - /^v\d+\.\d+\.\d+(-rc\d+)?$/
|
- /^v\d+\.\d+\.\d+(-rc\d+)?$/
|
||||||
- build-appimage:
|
- build-appimage:
|
||||||
requires:
|
requires:
|
||||||
- test-short
|
- test-short
|
||||||
# filters:
|
filters:
|
||||||
# branches:
|
branches:
|
||||||
# ignore:
|
ignore:
|
||||||
# - /.*/
|
- /.*/
|
||||||
# tags:
|
tags:
|
||||||
# only:
|
only:
|
||||||
# - /^v\d+\.\d+\.\d+(-rc\d+)?$/
|
- /^v\d+\.\d+\.\d+(-rc\d+)?$/
|
||||||
- publish:
|
- publish:
|
||||||
requires:
|
requires:
|
||||||
- build-all
|
- build-all
|
||||||
- build-macos
|
- build-macos
|
||||||
- build-appimage
|
- build-appimage
|
||||||
# filters:
|
filters:
|
||||||
# branches:
|
branches:
|
||||||
# ignore:
|
ignore:
|
||||||
# - /.*/
|
- /.*/
|
||||||
# tags:
|
tags:
|
||||||
# only:
|
only:
|
||||||
# - /^v\d+\.\d+\.\d+(-rc\d+)?$/
|
- /^v\d+\.\d+\.\d+(-rc\d+)?$/
|
||||||
- build-and-push-image:
|
- build-and-push-image:
|
||||||
dockerfile: Dockerfile.lotus
|
dockerfile: Dockerfile.lotus
|
||||||
path: .
|
path: .
|
||||||
|
@ -18,8 +18,6 @@ do
|
|||||||
command -v "${REQUIRE}" >/dev/null 2>&1 || echo >&2 "'${REQUIRE}' must be installed"
|
command -v "${REQUIRE}" >/dev/null 2>&1 || echo >&2 "'${REQUIRE}' must be installed"
|
||||||
done
|
done
|
||||||
|
|
||||||
CIRCLE_TAG=DEFINITELYDOESNOTEXIST
|
|
||||||
|
|
||||||
#see if the release already exists by tag
|
#see if the release already exists by tag
|
||||||
RELEASE_RESPONSE=`
|
RELEASE_RESPONSE=`
|
||||||
curl \
|
curl \
|
||||||
@ -49,7 +47,7 @@ if [ "${RELEASE_ID}" = "null" ]; then
|
|||||||
|
|
||||||
# create it if it doesn't exist yet
|
# create it if it doesn't exist yet
|
||||||
RELEASE_RESPONSE=`
|
RELEASE_RESPONSE=`
|
||||||
echo curl \
|
curl \
|
||||||
--request POST \
|
--request POST \
|
||||||
--header "Authorization: token ${GITHUB_TOKEN}" \
|
--header "Authorization: token ${GITHUB_TOKEN}" \
|
||||||
--header "Content-Type: application/json" \
|
--header "Content-Type: application/json" \
|
||||||
@ -60,8 +58,6 @@ else
|
|||||||
echo "release already exists"
|
echo "release already exists"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
RELEASE_RESPONSE=DEFINITELYDOESNOTEXIST
|
|
||||||
|
|
||||||
RELEASE_UPLOAD_URL=`echo "${RELEASE_RESPONSE}" | jq -r '.upload_url' | cut -d'{' -f1`
|
RELEASE_UPLOAD_URL=`echo "${RELEASE_RESPONSE}" | jq -r '.upload_url' | cut -d'{' -f1`
|
||||||
echo "Preparing to send artifacts to ${RELEASE_UPLOAD_URL}"
|
echo "Preparing to send artifacts to ${RELEASE_UPLOAD_URL}"
|
||||||
|
|
||||||
@ -80,7 +76,7 @@ artifacts=(
|
|||||||
for RELEASE_FILE in "${artifacts[@]}"
|
for RELEASE_FILE in "${artifacts[@]}"
|
||||||
do
|
do
|
||||||
echo "Uploading ${RELEASE_FILE}..."
|
echo "Uploading ${RELEASE_FILE}..."
|
||||||
echo curl \
|
curl \
|
||||||
--request POST \
|
--request POST \
|
||||||
--header "Authorization: token ${GITHUB_TOKEN}" \
|
--header "Authorization: token ${GITHUB_TOKEN}" \
|
||||||
--header "Content-Type: application/octet-stream" \
|
--header "Content-Type: application/octet-stream" \
|
||||||
@ -100,7 +96,7 @@ miscellaneous=(
|
|||||||
for MISC in "${miscellaneous[@]}"
|
for MISC in "${miscellaneous[@]}"
|
||||||
do
|
do
|
||||||
echo "Uploading release bundle: ${MISC}"
|
echo "Uploading release bundle: ${MISC}"
|
||||||
echo curl \
|
curl \
|
||||||
--request POST \
|
--request POST \
|
||||||
--header "Authorization: token ${GITHUB_TOKEN}" \
|
--header "Authorization: token ${GITHUB_TOKEN}" \
|
||||||
--header "Content-Type: application/octet-stream" \
|
--header "Content-Type: application/octet-stream" \
|
||||||
|
Loading…
Reference in New Issue
Block a user