Skip to content

Commit

Permalink
v2.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm committed Mar 6, 2020
1 parent d746ab8 commit 8c35774
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 4 deletions.
9 changes: 9 additions & 0 deletions devtools/README.release
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- cd js:
- Update version in package.json
- npm install && npm publish
- Update version in /nglview/_frontend.py
- Commit the change and push to master
- Create a release tag in github
- git fetch origin && git checkout <tag-number>
- ./devtools/release.py
- twine upload ./dist/<package>
2 changes: 2 additions & 0 deletions devtools/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
front_end_version = nglview.widget.__frontend_version__
latest_tag = sorted(subprocess.check_output('git tag', shell=True).decode().split('\n'))[-1]
latest_tag = latest_tag.replace('v', '')
print("latest_tag", latest_tag)
print("front_end_version", front_end_version)

if front_end_version != latest_tag:
print(f"Version mismatch between front_end_version {front_end_version} and latest_tag {latest_tag}")
Expand Down
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nglview-js-widgets",
"version": "2.7.3",
"version": "2.7.4",
"description": "nglview-js-widgets",
"author": "Hai Nguyen <[email protected]>, Alexander Rose <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion nglview/_frontend.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__frontend_version__ = '2.7.1'
__frontend_version__ = '2.7.4'
2 changes: 1 addition & 1 deletion nglview/static/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nglview/static/index.js.map

Large diffs are not rendered by default.

0 comments on commit 8c35774

Please sign in to comment.