From 2def6e61e0a63256a0af3de0c9b9fc71d9e33bb6 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Mon, 5 Oct 2026 10:10:15 +0200 Subject: [PATCH] feat: prepare 0.1.3-rc.1 release candidate --- Cargo.lock | 2 +- Cargo.toml | 2 +- docs/security-and-ci.md | 8 ++++---- scripts/test-release.py | 5 ++++- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d37ee78..d292f98 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1756,7 +1756,7 @@ checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" [[package]] name = "tiny-wb" -version = "0.1.1" +version = "0.1.3-rc.1" dependencies = [ "chrono", "color-eyre", diff --git a/Cargo.toml b/Cargo.toml index 0386a30..62eac39 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tiny-wb" -version = "0.1.1" +version = "0.1.3-rc.1" edition = "2021" rust-version = "1.88.0" license = "MIT" diff --git a/docs/security-and-ci.md b/docs/security-and-ci.md index 41d2701..60c0d49 100644 --- a/docs/security-and-ci.md +++ b/docs/security-and-ci.md @@ -229,10 +229,10 @@ execution and access to the asset mount remain external deployment checkpoints. The three public URLs were retrieved on 2026-10-05. Each returned HTTP 200 with `image/svg+xml` content and parsed as XML. Their accessible labels reported -version 0.1.1, tests passing, and 90% coverage; the version matches -`Cargo.toml`. This confirms that the publication endpoint is live, but does not -independently verify the external Jenkins job configuration or the freshness of -its most recent build. +version 0.1.1, tests passing, and 90% coverage; the version matched +`Cargo.toml` as it stood at the time of the check. This confirms that the +publication endpoint is live, but does not independently verify the external +Jenkins job configuration or the freshness of its most recent build. Server configuration is external: mount public assets read-only, disable directory listing, serve SVG with a restrictive Content-Security-Policy, and diff --git a/scripts/test-release.py b/scripts/test-release.py index 92994de..787b2e0 100644 --- a/scripts/test-release.py +++ b/scripts/test-release.py @@ -68,7 +68,10 @@ sys.exit(int(os.environ.get("PUBLISHER_EXIT", "0"))) extra = ['--dry-run', '--message-file', 'notes with spaces; $(not-a-command) *.md'] self.run_wrapper([self.token.name, *extra]) record = json.loads(self.capture.read_text()) - self.assertEqual(record['args'], [str(self.project), '--package', 'tiny-wb', '--artifact-format', 'both', *extra]) + version = tomllib.loads((self.project / 'Cargo.toml').read_text())['package']['version'] + prerelease = ['--prerelease'] if '-' in version.split('+', 1)[0] else [] + self.assertEqual(record['args'], [str(self.project), '--package', 'tiny-wb', + '--artifact-format', 'both', *extra, *prerelease]) self.assertEqual(record['token'], 'inert-test-token-123') self.assertNotIn(record['token'], '\n'.join(record['args'])) config = tomllib.loads(record['fallback'])