Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 25, 2024
1 parent 3f137d6 commit 315fdab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ version=$(cat package.json | jq -r '.version')
# -i.bak : edit file in-place, generating a backup file ending in `.bak`, which we delete on success
# while confusing, this unfortunately is the only way to edit in-place on both macOS and Linux
# reference: https://stackoverflow.com/a/44864004
sed -E -i.bak "s/jupyter_ai_magics.=[0-9]+\.[0-9]+\.[0-9]+/jupyter_ai_magics==$version/" pyproject.toml && rm pyproject.toml.bak
sed -E -i.bak "s/jupyter_ai_magics.=[0-9]+\.[0-9]+\.[0-9]+/jupyter_ai_magics==$version/" pyproject.toml && rm pyproject.toml.bak

0 comments on commit 315fdab

Please sign in to comment.