mirror of
https://github.com/jupyter/notebook.git
synced 2024-11-27 03:20:27 +08:00
fix versioning job
This commit is contained in:
parent
697ba0fea8
commit
f5866ebbfb
7
.github/workflows/buildutils.yml
vendored
7
.github/workflows/buildutils.yml
vendored
@ -37,12 +37,7 @@ jobs:
|
||||
|
||||
- name: Reset version
|
||||
run: |
|
||||
# TODO: improve this with a mock package?
|
||||
# This step is to ensure the workflow always starts with a final version
|
||||
sed -i -E 's/= VersionInfo\(.*\)/= VersionInfo\(9, 8, 7, "final", 0\)/' notebook/_version.py
|
||||
cat notebook/_version.py
|
||||
sed -i -E 's/current_version = .*/current_version = 9, 8, 7, "final", 0/' .bumpversion.cfg
|
||||
cat .bumpversion.cfg
|
||||
hatch version 9.8.7
|
||||
jlpm run lerna version 9.8.7 --no-push --force-publish --no-git-tag-version --yes
|
||||
git commit -am "Release 9.8.7"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user