Skip to content

Commit

Permalink
rust: Fix poe bump-version
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhekhorn committed May 22, 2024
1 parent fe8a8db commit 1742488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bump-versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def main(version):
if __name__ == "__main__":
if len(sys.argv) < 2:
raise ValueError(f"Pass version to {sys.argv[0]}")
main(sys.argv[1])
main(sys.argv[1][1:])
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ asv-publish = "asv publish --config benchmarks/asv.conf.json"
asv-show = "asv show --config benchmarks/asv.conf.json"
asv-clean = { "shell" = "rm -rf benchmarks/env benchmarks/html benchmarks/results" }
asv = ["asv-run", "asv-publish", "asv-preview"]
bump-version = "python crates/bump-versions.py `git describe --tags`"
bump-version = { "shell" = "python crates/bump-versions.py $(git describe --tags)" }
compile = "pip install -e crates/eko/"
rdocs.cmd = "cargo doc --workspace --no-deps"
rdocs.env = { RUSTDOCFLAGS = "--html-in-header crates/katex-header.html" }
Expand Down

0 comments on commit 1742488

Please sign in to comment.