Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ jobs:
version: ${{ steps.v.outputs.version }}
dated_tag: ${{ steps.v.outputs.dated_tag }}
title: ${{ steps.v.outputs.title }}
sha: ${{ steps.v.outputs.sha }}
steps:
- name: Require RELEASE_TOKEN (else no-op)
id: token
Expand Down Expand Up @@ -236,12 +237,14 @@ jobs:
BASE="$(crg)" # e.g. 0.13.2 (the current Cargo.toml version)
DATE="$(date -u +%Y%m%d)" # e.g. 20260714 (UTC)
DATE_DASH="$(date -u +%Y-%m-%d)" # e.g. 2026-07-14 (UTC, for the human title)
SHA="$(git rev-parse --short HEAD)"
SHORTSHA="$(git rev-parse --short HEAD)"
FULLSHA="$(git rev-parse HEAD)"
# Semver PRERELEASE version — sorts BELOW the plain `X.Y.Z`, so a nightly never outranks
# the stable release of the same version. Built at CI time; never committed.
echo "version=${BASE}-nightly.${DATE}.${SHA}" >> "$GITHUB_OUTPUT"
echo "version=${BASE}-nightly.${DATE}.${SHORTSHA}" >> "$GITHUB_OUTPUT"
echo "dated_tag=nightly-${DATE}" >> "$GITHUB_OUTPUT"
echo "title=Nightly ${DATE_DASH} (${SHA})" >> "$GITHUB_OUTPUT"
echo "title=Nightly ${DATE_DASH} (${SHORTSHA})" >> "$GITHUB_OUTPUT"
echo "sha=${FULLSHA}" >> "$GITHUB_OUTPUT"

# 2) build: the SAME reusable cross-OS build the stable release uses, stamped with the nightly
# version. Skipped (with the whole channel) when the token is absent.
Expand All @@ -252,7 +255,7 @@ jobs:
uses: ./.github/workflows/build-binaries.yml
with:
version: ${{ needs.nightly-meta.outputs.version }}
ref: "" # build this run's commit (main HEAD)
ref: ${{ needs.nightly-meta.outputs.sha }}

# 3) publish: attach the built binaries to a dated + rolling PRE-release, then prune old
# nightlies. Uses RELEASE_TOKEN for git tag + gh release operations (same identity as stable).
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
/.wp-doc-findings.md
# Rendered whitepaper HTML intermediate (the .md source and .pdf are kept).
/docs/whitepaper/digstore-whitepaper.html
.testcredentials
.testcredentials
.claude/worktrees/
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exclude = ["crates/digstore-prover/guest", "crates/dig-client-wasm"]

[workspace.package]
edition = "2021"
version = "0.13.2"
version = "0.13.3"
license = "GPL-2.0-only"

[workspace.dependencies]
Expand Down
6 changes: 3 additions & 3 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# git-cliff changelog config — builds CHANGELOG.md from Conventional Commits.
# Uniform across every DIG repo (Rust + JS/TS). Consumed by .github/workflows/release.yml,
# which regenerates the changelog on merge and commits it BEFORE tagging (so the changelog
# is included in the vX.Y.Z tag). See CLAUDE.md §3.6.
# Uniform across every DIG repo (Rust + JS/TS). Consumed by nightly-release.yml's stable
# channel (the nightly cron + manual dispatch), which regenerates the changelog + commits + tags.
# See CLAUDE.md §3.6.
[changelog]
header = """
# Changelog
Expand Down
Loading