19 Commits

Author SHA1 Message Date
Victor Zverovich
841040e781 Attach release artifacts to draft via workflow_dispatch
Draft releases do not fire the `release: created` event, so the release
workflow never ran and the source zip and SLSA provenance were not
attached to the draft. Trigger the workflow explicitly from release.py
via workflow_dispatch, passing the tag to attach to and the ref to build
from, and resolve the tag/ref in the workflow for both event types.
2026-06-08 07:48:52 +02:00
Victor Zverovich
9afcd929ba Fix release script 2026-06-02 17:32:47 -07:00
Victor Zverovich
f2995637c2 Fix release script 2026-06-02 16:21:20 -07:00
Victor Zverovich
9cd653cac1 Use venv in the release script 2026-06-02 15:32:58 -07:00
Victor Zverovich
a54dbce579 Update branch 2026-06-02 15:17:59 -07:00
Victor Zverovich
a9e889e161 Build release artifacts and SLSA provenance in CI
Adds .github/workflows/release.yml, triggered on `release: created`, which:
  - checks out the release's target_commitish,
  - builds the source zip via CMake/CPack (`package_source`),
  - uploads the zip to the draft release,
  - calls slsa-framework/slsa-github-generator to produce a
    SLSA v1.0 *.intoto.jsonl provenance file and attach it to the
    same draft release.

After CI completes, the draft has both the zip and the provenance attached,
and the maintainer reviews and publishes as before.

Updates support/release.py to stop building and uploading the zip locally;
that work has moved to CI so the SLSA provenance attests to the actual
build environment that produced the artifact, not to a hash observed
after the fact. The script still builds docs locally because the
subsequent mkdocs deploy step depends on them.
2026-05-31 18:16:07 -07:00
Victor Zverovich
3c8aad8df7 Update the release script 2024-12-26 07:03:15 -08:00
Victor Zverovich
a914384bc4 Merge update-website and release scripts 2016-06-16 07:53:07 -07:00
Victor Zverovich
41356aa00a Format scripts 2016-06-15 16:15:34 -07:00
Victor Zverovich
06045cb4a5 Minor fixes to documentation build scripts 2016-06-02 06:52:07 -07:00
Victor Zverovich
b344bd9582 Fix release script and changelog format 2016-05-07 09:21:26 -07:00
Victor Zverovich
c33f3e281b cppformat -> fmt 2016-04-28 07:00:22 -07:00
Victor Zverovich
7f0d8184c9 cppformat -> fmt 2016-04-24 10:39:33 -07:00
Victor Zverovich
848ab63a2a CPPFORMAT_VERSION -> FMT_VERSION 2016-04-24 07:16:33 -07:00
vitaut
062e3bd757 Add a branch option to the release script 2016-03-13 10:27:15 -07:00
vitaut
fac207816c Update release script 2015-11-30 08:23:16 -08:00
vitaut
11f946efff Make release script create a GitHub release 2015-11-12 07:39:09 -08:00
vitaut
5e37698911 Implement release script 2015-11-11 08:41:29 -08:00
vitaut
477962884e Add a release script 2015-11-10 08:20:21 -08:00