From 88767e4af946bf4b54dfbf4ed93a82f7e9633466 Mon Sep 17 00:00:00 2001 From: Hadrien Mary Date: Fri, 11 Oct 2019 14:19:00 -0400 Subject: [PATCH] bumped version to 0.4.6 --- jupyter_archive/_version.py | 2 +- package.json | 2 +- rever.xsh | 23 +++++++++++++++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 rever.xsh diff --git a/jupyter_archive/_version.py b/jupyter_archive/_version.py index 5195d9c..2306826 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.5' +__version__ = '0.4.6' diff --git a/package.json b/package.json index 28250a5..2cd63cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hadim/jupyter-archive", - "version": "0.4.5", + "version": "0.4.6", "description": "Make, download and extract archive files.", "keywords": [ "jupyter", diff --git a/rever.xsh b/rever.xsh new file mode 100644 index 0000000..144b5e8 --- /dev/null +++ b/rever.xsh @@ -0,0 +1,23 @@ +$PROJECT = 'jupyter-archive' + +$ACTIVITIES = ['run_tests', 'version_bump', 'tag', 'push_tag', 'pypi', 'publish_npm', 'ghrelease'] + +$VERSION_BUMP_PATTERNS = [('jupyter_archive/_version.py', '__version__\s*=.*', "__version__ = '$VERSION'"), + ('package.json', '"version"\s*:.*,', '"version": "$VERSION",')] + +$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