Skip to content

Commit 621943c

Browse files
committed
Revert to simple cargo publish without tag-derived versioning
Version is now managed directly in Cargo.toml. https://claude.ai/code/session_019tzejYnzWFARWNgHBZ4fhN
1 parent ef6eef6 commit 621943c

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,10 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16-
- name: Set version from git tag
17-
run: |
18-
VERSION="${GITHUB_REF_NAME#v}"
19-
echo "Publishing version: $VERSION"
20-
sed -i "s/^version = .*/version = \"$VERSION\"/" Cargo.toml
21-
2216
- uses: dtolnay/rust-toolchain@stable
2317

2418
- run: cargo test
2519

26-
- run: cargo publish --allow-dirty
20+
- run: cargo publish
2721
env:
2822
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)