diff --git a/docs/development/releases.md b/docs/development/releases.md index e76d28e..4cbf62a 100644 --- a/docs/development/releases.md +++ b/docs/development/releases.md @@ -171,6 +171,10 @@ them; macOS runtime validation is explicitly skipped on Linux. Publish the complete configured matrix together so its checksum manifest covers all platforms. +The release configuration uploads that matrix to both Gitea and GitHub. Provide +`GITEA_TOKEN` and `GITHUB_TOKEN`, or use `--token-file` with an untracked JSON +object whose `gitea` and `github` keys contain the corresponding tokens. + ## Application artwork PPTX Reporter embeds its PNG window icon and Windows ICO resource, including diff --git a/docs/pptx-reporter/changelog.md b/docs/pptx-reporter/changelog.md index 43ec8ef..1868ec5 100644 --- a/docs/pptx-reporter/changelog.md +++ b/docs/pptx-reporter/changelog.md @@ -4,6 +4,8 @@ ## Unreleased +- Publish future release assets to both Gitea and GitHub from one build, with + separate named credentials for each service. - Move PPTX Reporter from the Beffroi tools workspace into its own Idle-owned repository with standalone build, packaging, documentation and CI support. - Store new desktop preferences under the Idle application namespace while diff --git a/rust-release.toml b/rust-release.toml index 7a9c4ed..3b58aa0 100644 --- a/rust-release.toml +++ b/rust-release.toml @@ -1,6 +1,18 @@ [release] tag-prefix = "v" +[[release.endpoints]] +name = "gitea" +provider = "gitea" +repository = "https://proxy.dandaedre.com/gitea/idle-org/pptx-reporter" +token-env = "GITEA_TOKEN" + +[[release.endpoints]] +name = "github" +provider = "github" +repository = "https://github.com/idle-org/pptx-reporter" +token-env = "GITHUB_TOKEN" + [build] targets = [ "x86_64-unknown-linux-gnu", @@ -46,6 +58,3 @@ required-destinations = ["ffprobe{binary-ext}", "LICENSES/ffmpeg/LICENSE.txt", " [[repository.fallbacks]] origin = "https://git.dandaedre.com/idle-org/pptx-reporter" fallback-url = "https://proxy.dandaedre.com/gitea/idle-org/pptx-reporter" - -[gitea] -token-env = "GITEA_TOKEN"