forked from jupyterlab/jupyter-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
#!/bin/bash | ||
|
||
# script that bumps version for all projects regardless of whether they were | ||
# changed since last release. needed because `lerna version` only bumps versions for projects | ||
# listed by `lerna changed` by default. | ||
# changed since last release. | ||
|
||
set -euxo pipefail | ||
target_version="$1" | ||
|
||
# bump version in pyproject.toml | ||
# TODO | ||
|
||
# we specify `--force-publish` because otherwise, `lerna version` only bumps | ||
# versions for projects listed by `lerna changed`. | ||
# | ||
# see: https://github.com/lerna/lerna/issues/2369 | ||
|
||
(npx -p lerna@6.4.1 -y lerna version \ | ||
--no-git-tag-version \ | ||
--no-push \ | ||
--force-publish \ | ||
-y \ | ||
$1 \ | ||
"$target_version" \ | ||
) || exit 1 |