Skip to content

Commit

Permalink
Switch to Working dir when checking if git repo should be migrated (j…
Browse files Browse the repository at this point in the history
…upyter-server#395)

* move to working dir to do migration

* Bump to 0.20.5
  • Loading branch information
Zsailer authored and GitHub Enterprise committed May 26, 2022
1 parent 18ba15e commit c742309
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data_studio_jupyter_extensions/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.20.4" # pragma: no cover
__version__ = "0.20.5" # pragma: no cover
1 change: 1 addition & 0 deletions deployment/bin/setup_notebook_directory.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ if [[ ! -z $GITHUB_REPO ]]; then
# This reflects the old way we used to set up the user's directory.
# The first condition is checking for such a legacy setup and
# automatically migrates their directory to the new location.
cd $WORKING_DIR
if [[ "$(git config --get remote.origin.url)" == $GITHUB_REPO ]]; then
echo "[INFO] Migrating repo to new location on disk."
# Temporarily move the working directory to a temporary dir to avoid
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ testpaths = [
]

[tool.tbump.version]
current = "0.20.4"
current = "0.20.5"
regex = '''
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
((?P<channel>a|b|rc|.dev)(?P<release>\d+))?
Expand Down
2 changes: 1 addition & 1 deletion src/status.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { ISessionContext, ReactWidget } from '@jupyterlab/apputils';
import { EventListener } from './eventlistener';

// This is managed by tbump config in pyproject.toml
const VERSION = '0.20.4';
const VERSION = '0.20.5';

// Define the error states
// https://github.pie.apple.com/pie-data-studio/notebook-service/blob/761d63604966db5918d2e491c0f89cce454b7f67/app/com/apple/datastudio/model/ResourceState.scala#L20
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.20.4
0.20.5

0 comments on commit c742309

Please sign in to comment.