From d2ad28f4ef7b55cdca98031c9d8e2ae6019e937e Mon Sep 17 00:00:00 2001 From: jutty Date: Wed, 18 Feb 2026 17:27:14 -0300 Subject: [PATCH] CI: Set version variable for GJD publish URL --- .forgejo/workflows/publish.yaml | 3 ++- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index ae5a935..9be60d6 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -53,8 +53,9 @@ jobs: - name: Build release binary run: just full-build - - name: Upload release binary to git.jutty.dev package registry + - name: Publish to git.jutty.dev package registry run: | + version=$(./target/release/en --version) api_root=https://git.jutty.dev/api/ url=$api_root/packages/jutty/generic/en/$version/en-x86_64-linux-gnu diff --git a/Cargo.lock b/Cargo.lock index 59a26da..2c44a23 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -259,7 +259,7 @@ dependencies = [ [[package]] name = "en" -version = "0.1.6" +version = "0.1.7" dependencies = [ "axum", "serde", diff --git a/Cargo.toml b/Cargo.toml index 2c25b9b..e431de5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "en" -version = "0.1.6" +version = "0.1.7" description = "A non-linear writing instrument." license = "AGPL-3.0-only"