From c9d75aeb1f01ab5fec9ea74f185e29f7aa9ac9b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Fr=C3=B3es=20Franco?= Date: Thu, 4 Jun 2026 01:06:53 +0000 Subject: [PATCH] Ci improvements (#5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://code.gfran.co/gffranco/nuwiki/pulls/5 Co-authored-by: Gabriel Fróes Franco Co-committed-by: Gabriel Fróes Franco --- .gitea/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index cafae48..8592382 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -77,7 +77,10 @@ jobs: version="${GITHUB_REF_NAME#v}" archive="nuwiki-ls-${version}-${{ matrix.target }}.tar.gz" tar -czf "$archive" -C "target/${{ matrix.target }}/release" nuwiki-ls - echo "archive=$archive" >> "$GITHUB_OUTPUT" + # Use a stable name without version so /releases/latest/download/nuwiki-ls-{target}.tar.gz always resolves. + stable="nuwiki-ls-${{ matrix.target }}.tar.gz" + mv "$archive" "$stable" + echo "archive=$stable" >> "$GITHUB_OUTPUT" - name: Upload build artifact uses: actions/upload-artifact@v4