Skip to content

Commit c742309

Browse files
ZsailerGitHub Enterprise
authored and
GitHub Enterprise
committed
Switch to Working dir when checking if git repo should be migrated (jupyter-server#395)
* move to working dir to do migration * Bump to 0.20.5
1 parent 18ba15e commit c742309

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.20.4" # pragma: no cover
1+
__version__ = "0.20.5" # pragma: no cover

deployment/bin/setup_notebook_directory.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ if [[ ! -z $GITHUB_REPO ]]; then
9595
# This reflects the old way we used to set up the user's directory.
9696
# The first condition is checking for such a legacy setup and
9797
# automatically migrates their directory to the new location.
98+
cd $WORKING_DIR
9899
if [[ "$(git config --get remote.origin.url)" == $GITHUB_REPO ]]; then
99100
echo "[INFO] Migrating repo to new location on disk."
100101
# Temporarily move the working directory to a temporary dir to avoid

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ testpaths = [
2323
]
2424

2525
[tool.tbump.version]
26-
current = "0.20.4"
26+
current = "0.20.5"
2727
regex = '''
2828
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
2929
((?P<channel>a|b|rc|.dev)(?P<release>\d+))?

src/status.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { ISessionContext, ReactWidget } from '@jupyterlab/apputils';
3131
import { EventListener } from './eventlistener';
3232

3333
// This is managed by tbump config in pyproject.toml
34-
const VERSION = '0.20.4';
34+
const VERSION = '0.20.5';
3535

3636
// Define the error states
3737
// https://github.pie.apple.com/pie-data-studio/notebook-service/blob/761d63604966db5918d2e491c0f89cce454b7f67/app/com/apple/datastudio/model/ResourceState.scala#L20

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.20.4
1+
0.20.5

0 commit comments

Comments
 (0)