From 435e478b01742f3c83199e4c9ad4892c2f567898 Mon Sep 17 00:00:00 2001 From: jutty Date: Wed, 25 Feb 2026 02:35:20 -0300 Subject: [PATCH] CI: Move sha256sum calculation before registry upload --- .forgejo/workflows/publish.yaml | 6 +++--- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index df15a3d..956fd79 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -26,6 +26,9 @@ jobs: - name: Build release binary run: just full-build + - name: Calculate SHA-256 hash + run: just shasum + - name: Publish to git.jutty.dev package registry run: | version=$(./target/release/en --version) @@ -35,6 +38,3 @@ jobs: curl -fsSL \ --user jutty:${{ secrets.GJD_REGISTRY_TOKEN }} \ --upload-file target/release/en $url - - - name: Calculate SHA-256 hash - run: just shasum diff --git a/Cargo.lock b/Cargo.lock index 72ed60d..f0ebb1a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -259,7 +259,7 @@ dependencies = [ [[package]] name = "en" -version = "0.1.9" +version = "0.1.10" dependencies = [ "axum", "serde", diff --git a/Cargo.toml b/Cargo.toml index 25f49ac..cddfba9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "en" -version = "0.1.9" +version = "0.1.10" description = "A non-linear writing instrument." license = "AGPL-3.0-only"