Skip to content

Commit 3b68f74

Browse files
hanbu97claude
andcommitted
fix: add GITHUB_TOKEN env to release version/tag step
The `set -u` in the release script fails on unbound GITHUB_TOKEN when the tag already exists and the curl branch is reached. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 24c4c6b commit 3b68f74

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131

3232
- name: Determine release version/tag
3333
id: rel
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3436
run: |
3537
set -euxo pipefail
3638
cargo_version=$(grep -E '^version[[:space:]]*=[[:space:]]*\"' Cargo.toml | head -n1 | cut -d'"' -f2)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tokenusage"
3-
version = "1.3.1"
3+
version = "1.3.2"
44
edition = "2024"
55
description = "Fast Rust CLI/TUI/GUI token usage tracker for Codex, Claude Code, and Antigravity usage."
66
license = "MIT"

0 commit comments

Comments
 (0)