Skip to content

Commit

Permalink
change version to 4.5.0 for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
amcamd committed Sep 12, 2018
1 parent cbf485f commit a307012
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Tensile/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
################################################################################

# hardcoded tensile version; also in Tensile/Source/TensileConfigVersion.cmake
__version__ = "4.4.0"
__version__ = "4.5.0"
17 changes: 9 additions & 8 deletions bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
# This script needs to be edited to bump version for new release.
# Version will be bumped in Tensile/__init__.py and in .yaml files

OLD_VERSION="4.3.0"
NEW_VERSION="4.4.0"
OLD_VERSION="4.4.0"
NEW_VERSION="4.5.0"

OLD_MINIMUM_REQUIRED_VERSION="MinimumRequiredVersion: 4.3.0"
NEW_MINIMUM_REQUIRED_VERSION="MinimumRequiredVersion: 4.4.0"
OLD_MINIMUM_REQUIRED_VERSION="MinimumRequiredVersion: 4.4.0"
NEW_MINIMUM_REQUIRED_VERSION="MinimumRequiredVersion: 4.5.0"

sed -i "s/${OLD_VERSION}/${NEW_VERSION}/g" Tensile/__init__.py

for FILE in Tensile/Configs/*yaml
do
sed -i "s/${OLD_MINIMUM_REQUIRED_VERSION}/${NEW_MINIMUM_REQUIRED_VERSION}/" $FILE
done
#only update when there is a major version change
#for FILE in Tensile/Configs/*yaml
#do
# sed -i "s/${OLD_MINIMUM_REQUIRED_VERSION}/${NEW_MINIMUM_REQUIRED_VERSION}/" $FILE
#done

0 comments on commit a307012

Please sign in to comment.