Skip to content

Commit

Permalink
Merge branch 'release/v0.0.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Panchenko committed Dec 2, 2020
2 parents 654b6cd + 8ae827b commit 3f1b420
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.0.6
current_version = 0.0.7
commit = False
tag = False
allow_dirty = False
Expand Down
16 changes: 2 additions & 14 deletions build_scripts/release-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Usage:
Optional flags:
-h, --help Show this information and exit
-d Delete release branch after merging
-e Edit changelog (using default editor)
-v, --verbose Print debug information
-y, --yes Do not prompt for confirmation, for non-interactive use (incompatible with -e)
Expand All @@ -52,7 +51,6 @@ function _parse_opts() {
POSITIONAL=()

DEBUG=
DELETE_BRANCH=
EDIT_CHANGELOG=
FORCE_YES=
HELP=
Expand All @@ -78,10 +76,6 @@ function _parse_opts() {
FORCE_YES=1
shift
;;
-d|--delete-branch)
DELETE_BRANCH=1
shift
;;
-r|--remote)
REMOTE="$2"
shift 2
Expand All @@ -105,7 +99,6 @@ function _parse_opts() {
fi

export DEBUG
export DELETE_BRANCH
export EDIT_CHANGELOG
export FORCE_YES
export HELP
Expand Down Expand Up @@ -174,9 +167,6 @@ EOF
- Bump version number again to next development pre-release
- Merge release branch into ${bold}develop${normal} locally and on $REMOTE
EOF
if [[ -n "$DELETE_BRANCH" ]]; then
echo " - Delete release branch"
fi

echo -en "🚨️ ${yellow}Do you want to proceed? [y/N] ${normal}"
read -n 1 -r
Expand Down Expand Up @@ -255,9 +245,7 @@ git checkout develop
git merge --no-ff "$RELEASE_BRANCH"
git push "$REMOTE" develop

if [[ -n "$DELETE_BRANCH" ]]; then
echo "🗑️ Deleting release branch"
git branch -d "$RELEASE_BRANCH"
fi
echo "🗑️ Deleting release branch"
git branch -d "$RELEASE_BRANCH"

echo -e "\U2728 All done! Get yourself some coffee and watch CI/CD pipelines for errors."
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
package_dir={"": "src"},
packages=find_packages(where="src"),
include_package_data=True,
version='0.0.6',
version='0.0.7',
description='Library for sensible AI',
install_requires=[
line
Expand Down
2 changes: 1 addition & 1 deletion src/sensai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from .normalisation import NormalisationMode
from .vector_model import VectorModel, VectorRegressionModel, VectorClassificationModel

__version__ = "0.0.6"
__version__ = "0.0.7"

# The following submodules are not imported by default to avoid necessarily requiring their dependencies:
# tensorflow
Expand Down
2 changes: 1 addition & 1 deletion src/sensai/clustering/base/clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def summaryDict(self):
return {
"identifier": self.identifier,
"centroid": self.centroid(),
"num_members": len(self),
"numMembers": len(self),
"radius": self.radius()
}

Expand Down

0 comments on commit 3f1b420

Please sign in to comment.