release: details on how to get right number for artifact download script

This commit is contained in:
Christian Schwarz
2026-02-15 18:48:04 +00:00
parent b1ea121d53
commit 79118ada70
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ clean: docs-clean
download-circleci-release: download-circleci-release:
rm -rf "$(ARTIFACTDIR)" rm -rf "$(ARTIFACTDIR)"
mkdir -p "$(ARTIFACTDIR)/release" mkdir -p "$(ARTIFACTDIR)/release"
python3 .circleci/download_artifacts.py --prefix 'artifacts/release/' "$(BUILD_NUM)" "$(ARTIFACTDIR)/release" python3 .circleci/download_artifacts.py --prefix 'artifacts/release/' "$(JOB_NUM)" "$(ARTIFACTDIR)/release"
##################### MULTI-ARCH HELPERS ##################### ##################### MULTI-ARCH HELPERS #####################
+6 -2
View File
@@ -104,9 +104,13 @@ The procedure to issue a release is as follows:
* Run the `release` pipeline against the `master` branch (trigger via CircleCI UI). * Run the `release` pipeline against the `master` branch (trigger via CircleCI UI).
This URL: https://app.circleci.com/pipelines/github/zrepl/zrepl?branch=master. This URL: https://app.circleci.com/pipelines/github/zrepl/zrepl?branch=master.
Example pipeline: https://app.circleci.com/pipelines/github/zrepl/zrepl/8547 Example pipeline: https://app.circleci.com/pipelines/github/zrepl/zrepl/8547
* Download artifacts: * Download artifacts using this handy makefile target.
Note: `JOB_NUM` must be the **job number** from the `release-upload` job, **not the pipeline number**.
Find it via: pipeline → `release` workflow → `release-upload` job number.
Example URL: https://app.circleci.com/pipelines/github/zrepl/zrepl/8547/workflows/65feb2c9-15d7-46ab-a551-46d62a5769b0/jobs/66079/steps
``` ```
make download-circleci-release BUILD_NUM=8547 make download-circleci-release JOB_NUM=66079
``` ```
* Create GitHub release and upload artifacts: * Create GitHub release and upload artifacts:
```bash ```bash