Skip to content

Commit

Permalink
include = to check version
Browse files Browse the repository at this point in the history
  • Loading branch information
iishiishii committed Sep 26, 2023
1 parent 301e985 commit 0e29e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get_neurodesk_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def find_latest_stable(owner, repository):
currentToml = os.path.join(os.path.dirname(__file__), '..', 'neurodesktop.toml')
with open(currentToml, 'r') as f:
for line in f:
if 'jupyter_neurodesk_version' in line:
if 'jupyter_neurodesk_version =' in line:
currentVersion = line.split('=')[1].split('"')[1]

"""Find latest stable release on GitHub for given repository."""
Expand Down

0 comments on commit 0e29e09

Please sign in to comment.