Skip to content

Commit febcef5

Browse files
committed
Tweak the release pipeline.
1 parent 39a0fb5 commit febcef5

3 files changed

Lines changed: 16 additions & 45 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,12 @@ jobs:
8686
archive: srcdump-$tag-$target
8787
ref: refs/tags/${{ needs.setup.outputs.version }}
8888
dry-run: true # always build-only here; `publish` does the upload
89-
checksum: sha256
9089
- name: Collect the slim archive
9190
shell: bash
9291
run: |
9392
set -euo pipefail
94-
# taiki-e builds `srcdump-<version>-<target>.{tar.gz,zip}` (+ .sha256);
95-
# find it wherever it landed and stage it for upload.
93+
# taiki-e builds `srcdump-<version>-<target>.{tar.gz,zip}`; find it
94+
# wherever it landed and stage it for upload.
9695
mkdir -p out
9796
find . -type f -name "srcdump-${{ needs.setup.outputs.version }}-${{ matrix.target }}.*" \
9897
-exec cp {} out/ \;
@@ -168,11 +167,6 @@ jobs:
168167
[ "${{ runner.os }}" = "Windows" ] || chmod +x "$bin"
169168
python scripts/build_release.py \
170169
--full-only --srcdump "$bin" --archive-version "${{ needs.setup.outputs.version }}"
171-
- name: Checksum the full archive
172-
shell: bash
173-
run: |
174-
set -euo pipefail
175-
python scripts/sha256sum.py dist/*-full.*
176170
- name: Stash full archive as a workflow artifact
177171
uses: actions/upload-artifact@v4
178172
with:
@@ -193,10 +187,23 @@ jobs:
193187
merge-multiple: true
194188
- name: List artifacts
195189
run: ls -la release
190+
- name: Build release notes with checksums
191+
shell: bash
192+
run: |
193+
set -euo pipefail
194+
{
195+
echo "### SHA-256 checksums"
196+
echo
197+
echo '```'
198+
( cd release && sha256sum * )
199+
echo '```'
200+
} > notes.md
201+
cat notes.md
196202
- name: Create the GitHub Release
197203
uses: softprops/action-gh-release@v2
198204
with:
199205
tag_name: ${{ needs.setup.outputs.version }}
206+
body_path: notes.md
200207
files: release/*
201208
fail_on_unmatched_files: true
202209
token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ srcdump heavily relies on [uv](https://github.com/astral-sh/uv/), parallelism, a
3232

3333
When running for the first time, srcdump creates a virtual environment with angr downloaded and installed.
3434
For distribution without network access, srcdump unpacks the angr environment from `uv_angr.zip`.
35-
You can remove the virtual environment by running `srcdump --remove-venv`.
35+
You can remove the virtual environment by running `srcdump --remove-env`.
3636

3737
### Caching
3838

scripts/sha256sum.py

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)