Skip to content

Commit

Permalink
Release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sayerhs committed Apr 30, 2018
1 parent e1e41d0 commit 16b328a
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 10 deletions.
4 changes: 2 additions & 2 deletions caelus/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
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"
cmd = shlex.split(cmdline)
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:
Expand Down
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -137,7 +137,7 @@

# The name for this set of Sphinx documents.
# "<project> v<release> 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
Expand Down
2 changes: 1 addition & 1 deletion etc/conda/caelus/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package:
name: caelus
version: "v0.0.2"
version: "v0.1.0"

source:
git_rev: master
Expand Down
2 changes: 1 addition & 1 deletion etc/conda/conda-pkg.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion etc/conda/conda-pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion etc/conda/installer/construct-template.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
18 changes: 18 additions & 0 deletions etc/misc/bump-versions.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from setuptools import setup

VERSION = "0.0.2"
VERSION = "0.1.0"

classifiers = [
"Development Status :: 3 -Alpha",
Expand Down

0 comments on commit 16b328a

Please sign in to comment.