summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrystal <crystal@noreply.codeberg.org>2023-07-02 23:44:21 -0600
committercrystal <crystal@noreply.codeberg.org>2023-07-02 23:44:21 -0600
commit3ceea43baf52112c0c39bb4bf0e8d5a225e4e4cf (patch)
tree4f3acd1db1fd9c70e819fa43fe59d7d148c5b4d3
parentebdaf0279f5f7520e60f551b5d47c5183695b85d (diff)
release candidate tag
-rwxr-xr-x.ci-make.sh3
-rw-r--r--.crystalintegration.yml6
2 files changed, 5 insertions, 4 deletions
diff --git a/.ci-make.sh b/.ci-make.sh
index 5f8bd50..e20e74f 100755
--- a/.ci-make.sh
+++ b/.ci-make.sh
@@ -4,6 +4,7 @@ CI_VERIFY_API="https://codeberg.org" # Query the Forgejo API at this URL to chec
CI_VERIFY_REPO="forgejo/forgejo" # Check this repo at the Forgejo API for upstream CI status
CI_VERIFY_RETRY_TIME=120 # How long to wait in seconds before retrying if the pipeline is pending
CI_VERIFY_RETRY_COUNT=30 # How many times to retry before giving up if the pipeline is pending
+BIN_DL_REPO="forgejo-experimental/forgejo" # Use experimental repo for RC binary download
case "$1" in
"submodule-build")
@@ -44,7 +45,7 @@ case "$1" in
;;
"download-binary")
if [ $CI_COMMIT_TAG ] ; then
- CI_RELEASE_ASSETS=$(curl $CI_VERIFY_API/api/v1/repos/$CI_VERIFY_REPO/releases/tags/$CI_COMMIT_TAG | jq -c '.assets[]' | grep linux-amd64)
+ CI_RELEASE_ASSETS=$(curl $CI_VERIFY_API/api/v1/repos/$BIN_DL_REPO/releases/tags/$CI_COMMIT_TAG | jq -c '.assets[]' | grep linux-amd64)
CI_RELEASE_BINARY_URL=$(echo "$CI_RELEASE_ASSETS" | grep linux-amd64\" | jq -r --jsonargs .browser_download_url)
CI_RELEASE_SHA256=$(curl $(echo "$CI_RELEASE_ASSETS" | grep linux-amd64.sha256\" | jq -r --jsonargs .browser_download_url) | cut -d ' ' -f1)
wget --content-disposition $CI_RELEASE_BINARY_URL
diff --git a/.crystalintegration.yml b/.crystalintegration.yml
index 10cfa12..eb79ae0 100644
--- a/.crystalintegration.yml
+++ b/.crystalintegration.yml
@@ -314,7 +314,7 @@ pipeline:
- "*.deb.sha256"
api_key:
from_secret: sc_api_key
- prerelease: false
+ prerelease: true
skip_verify: true
when:
event: [ tag ]
@@ -329,7 +329,7 @@ pipeline:
- "*.deb.sha256"
api_key:
from_secret: cb_api_key
- prerelease: false
+ prerelease: true
skip_verify: true
when:
event: [ tag ]
@@ -339,7 +339,7 @@ pipeline:
group: upload
environment:
FORGEJO_SITE: https://code.forgejo.org
- FORGEJO_OWNER: crystal
+ FORGEJO_OWNER: crystal-experimental
DEBIAN_DIST: bullseye
DEBIAN_COMPONENT: forgejo
secrets: [ cfo_api_key ]