From 16b328a681f352211ac194d462b4e57579be1f33 Mon Sep 17 00:00:00 2001 From: Shreyas Ananthan Date: Mon, 30 Apr 2018 17:46:04 -0600 Subject: [PATCH] Release v0.1.0 --- caelus/version.py | 4 ++-- docs/source/conf.py | 6 +++--- etc/conda/caelus/meta.yaml | 2 +- etc/conda/conda-pkg.bat | 2 +- etc/conda/conda-pkg.sh | 2 +- etc/conda/installer/construct-template.yaml | 2 +- etc/misc/bump-versions.sh | 18 ++++++++++++++++++ setup.py | 2 +- 8 files changed, 28 insertions(+), 10 deletions(-) create mode 100755 etc/misc/bump-versions.sh diff --git a/caelus/version.py b/caelus/version.py index c645404..d87e496 100644 --- a/caelus/version.py +++ b/caelus/version.py @@ -8,12 +8,13 @@ import subprocess import shlex -_basic_version = "v0.0.2" +_basic_version = "v0.1.0" def git_describe(): """Get version from git-describe""" dirname = os.path.dirname(__file__) cwd = os.getcwd() + git_ver = _basic_version try: os.chdir(dirname) cmdline = "git describe --tags --dirty" @@ -21,7 +22,6 @@ def git_describe(): task = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, _ = task.communicate() - git_ver = _basic_version if task.poll() == 0: git_ver = out.strip().decode('ascii') finally: diff --git a/docs/source/conf.py b/docs/source/conf.py index cc795ea..d3b9048 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -67,9 +67,9 @@ # built documents. # # The short X.Y version. -version = u'v0.0.2' +version = u'v0.1.0' # The full version, including alpha/beta/rc tags. -release = u'v0.0.2' +release = u'v0.1.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -137,7 +137,7 @@ # The name for this set of Sphinx documents. # " v documentation" by default. -#html_title = u'Caelus Python v0.0.2' +#html_title = u'Caelus Python v0.1.0' # A shorter title for the navigation bar. Default is the same as html_title. #html_short_title = None diff --git a/etc/conda/caelus/meta.yaml b/etc/conda/caelus/meta.yaml index 7d5c63c..421b328 100644 --- a/etc/conda/caelus/meta.yaml +++ b/etc/conda/caelus/meta.yaml @@ -2,7 +2,7 @@ package: name: caelus - version: "v0.0.2" + version: "v0.1.0" source: git_rev: master diff --git a/etc/conda/conda-pkg.bat b/etc/conda/conda-pkg.bat index 8494a3a..d7aece1 100644 --- a/etc/conda/conda-pkg.bat +++ b/etc/conda/conda-pkg.bat @@ -6,7 +6,7 @@ REM ### Create a Conda package for Caelus Python Library REM # Run from the script directory cd "%~dp0" || exit /B 1 -set caelus_version="v0.0.2" +set caelus_version="v0.1.0" set script_dir="%~dp0" REM Activate base/root environment for build and constructor diff --git a/etc/conda/conda-pkg.sh b/etc/conda/conda-pkg.sh index e651e68..c87c505 100755 --- a/etc/conda/conda-pkg.sh +++ b/etc/conda/conda-pkg.sh @@ -9,7 +9,7 @@ set -e # Run from the script directory cd ${0%/*} || exit 1 -caelus_version="v0.0.2" +caelus_version="v0.1.0" script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Set up conda environment diff --git a/etc/conda/installer/construct-template.yaml b/etc/conda/installer/construct-template.yaml index d4dfaba..040532e 100644 --- a/etc/conda/installer/construct-template.yaml +++ b/etc/conda/installer/construct-template.yaml @@ -1,7 +1,7 @@ # Custom conda installer for Caelus Python Library name: caelus-conda -version: v0.0.2 +version: v0.1.0 install_in_dependency_order: True diff --git a/etc/misc/bump-versions.sh b/etc/misc/bump-versions.sh new file mode 100755 index 0000000..93789c2 --- /dev/null +++ b/etc/misc/bump-versions.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +### +### Bump CPL versions consistently across all files +### + +FILES=(setup.py + caelus/version.py + docs/source/conf.py + etc/conda/caelus/meta.yaml + etc/conda/conda-pkg.sh + etc/conda/conda-pkg.bat + etc/conda/installer/construct-template.yaml + ) + +for fname in ${FILES[@]} ; do + sed -i '' -e 's/0.0.2/0.1.0/' ${fname} +done diff --git a/setup.py b/setup.py index 5d28ce8..6d50863 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ from setuptools import setup -VERSION = "0.0.2" +VERSION = "0.1.0" classifiers = [ "Development Status :: 3 -Alpha",