From c7acd722afce3f2bd02d019f6278b007294a5173 Mon Sep 17 00:00:00 2001 From: Hadrien Mary Date: Fri, 11 Oct 2019 14:26:51 -0400 Subject: [PATCH] bumped version to 0.4.9 --- README.md | 4 ---- jupyter_archive/_version.py | 2 +- package.json | 2 +- rever.xsh | 18 ++++++------------ 4 files changed, 8 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 379c341..7909c89 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,3 @@ Under BSD license. See [LICENSE](LICENSE). - Install those packages: `conda install twine rever` - Run: `rever ` - -- Edit `jupyter_archive/_version.py` and set the version back to `.dev0`. -- Edit `package.json` and set the version back to `-dev`. -- Commit `git commit -am "Bump to dev"` diff --git a/jupyter_archive/_version.py b/jupyter_archive/_version.py index cdd6a4f..efceacd 100644 --- a/jupyter_archive/_version.py +++ b/jupyter_archive/_version.py @@ -1,4 +1,4 @@ # Copyright (c) Project Jupyter. # Distributed under the terms of the Modified BSD License. -__version__ = '0.4.8' +__version__ = '0.4.9' diff --git a/package.json b/package.json index 558112c..073293c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hadim/jupyter-archive", - "version": "0.4.8", + "version": "0.4.9", "description": "Make, download and extract archive files.", "keywords": [ "jupyter", diff --git a/rever.xsh b/rever.xsh index 12acf05..ee718ac 100644 --- a/rever.xsh +++ b/rever.xsh @@ -1,3 +1,8 @@ +from rever.activities.command import command + +command('run_tests', 'pytest jupyter_archive/', '') +command('publish_npm', 'yarn publish --access=public --new-version $VERSION', '') + $PROJECT = 'jupyter-archive' $ACTIVITIES = ['run_tests', 'version_bump', 'tag', 'push_tag', 'pypi', 'publish_npm', 'ghrelease'] @@ -9,15 +14,4 @@ $PUSH_TAG_REMOTE = 'git@github.com:hadim/jupyter-archive.git' $GITHUB_ORG = 'hadim' $GITHUB_REPO = 'jupyter-archive' - -from rever.activity import activity - -@activity -def run_tests(): - echo "Run tests" - pytest jupyter_archive/ - -@activity -def publish_npm(): - echo "Publish package to NPM" - yarn publish --access=public --new-version $VERSION +# git commit -am "Bump to dev" \ No newline at end of file