From b222503859c430d8dd5d8ea6f95c82eb690fd603 Mon Sep 17 00:00:00 2001 From: konard Date: Thu, 8 Jan 2026 20:59:03 +0100 Subject: [PATCH 1/3] Initial commit with task details Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: https://github.com/link-foundation/lino-objects-codec/issues/19 --- CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..b8f0e36 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,5 @@ +Issue to solve: https://github.com/link-foundation/lino-objects-codec/issues/19 +Your prepared branch: issue-19-d88ab983ff7d +Your prepared working directory: /tmp/gh-issue-solver-1767902341678 + +Proceed. From 0d8c934d7e67a6981b959667842ff91c523ac783 Mon Sep 17 00:00:00 2001 From: konard Date: Thu, 8 Jan 2026 21:00:40 +0100 Subject: [PATCH 2/3] feat(rust): support both CARGO_REGISTRY_TOKEN and CARGO_TOKEN for publishing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Use CARGO_REGISTRY_TOKEN with fallback to CARGO_TOKEN for crates.io publishing - Update warning message to indicate both possible token names - Applies to both auto-release and manual-release workflows Fixes #19 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/rust.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a207713..5aa13ee 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -326,10 +326,10 @@ jobs: if: steps.version_check.outputs.should_release == 'true' working-directory: ./rust env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN || secrets.CARGO_TOKEN }} run: | if [ -z "$CARGO_REGISTRY_TOKEN" ]; then - echo "::warning::CARGO_REGISTRY_TOKEN not set, skipping publish to crates.io" + echo "::warning::Neither CARGO_REGISTRY_TOKEN nor CARGO_TOKEN is set, skipping publish to crates.io" else cargo publish fi @@ -397,10 +397,10 @@ jobs: if: steps.version.outputs.version_committed == 'true' || steps.version.outputs.already_released == 'true' working-directory: ./rust env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN || secrets.CARGO_TOKEN }} run: | if [ -z "$CARGO_REGISTRY_TOKEN" ]; then - echo "::warning::CARGO_REGISTRY_TOKEN not set, skipping publish to crates.io" + echo "::warning::Neither CARGO_REGISTRY_TOKEN nor CARGO_TOKEN is set, skipping publish to crates.io" else cargo publish fi From 07555cefada174858b287a95bad32003a742e589 Mon Sep 17 00:00:00 2001 From: konard Date: Thu, 8 Jan 2026 21:04:08 +0100 Subject: [PATCH 3/3] Revert "Initial commit with task details" This reverts commit b222503859c430d8dd5d8ea6f95c82eb690fd603. --- CLAUDE.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index b8f0e36..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1,5 +0,0 @@ -Issue to solve: https://github.com/link-foundation/lino-objects-codec/issues/19 -Your prepared branch: issue-19-d88ab983ff7d -Your prepared working directory: /tmp/gh-issue-solver-1767902341678 - -Proceed.