forked from ROCm/rocBLAS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbump_master_version.sh
More file actions
executable file
·29 lines (22 loc) · 1.16 KB
/
bump_master_version.sh
File metadata and controls
executable file
·29 lines (22 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
# This script needs to be edited to bump old develop version to new master version for new release.
# - run this script in develop branch
# - after running this script merge develop into master
# - after running this script and merging develop into master, run bump_develop_version.sh in master and
# merge master into develop
OLD_ROCBLAS_VERSION="2.15.1"
NEW_ROCBLAS_VERSION="2.16.0"
OLD_TENSILE_VERSION="Tensile 4.15.0"
NEW_TENSILE_VERSION="Tensile 4.16.0"
OLD_TENSILE_HASH="d427cddb02373f5c4b51b7d4904e4b88561715d3"
NEW_TENSILE_HASH="66487a1e7756bc2a5a9005cea0f903308e63f248"
OLD_MINIMUM_REQUIRED_VERSION="MinimumRequiredVersion: 4.6.0"
NEW_MINIMUM_REQUIRED_VERSION="MinimumRequiredVersion: 4.7.1"
sed -i "s/${OLD_ROCBLAS_VERSION}/${NEW_ROCBLAS_VERSION}/g" CMakeLists.txt
sed -i "s/${OLD_TENSILE_VERSION}/${NEW_TENSILE_VERSION}/g" CMakeLists.txt
sed -i "s/${OLD_TENSILE_HASH}/${NEW_TENSILE_HASH}/g" tensile_tag.txt
#only update yaml files for a Tensile major version change
#for FILE in library/src/blas3/Tensile/Logic/*/*yaml
#do
# sed -i "s/${OLD_MINIMUM_REQUIRED_VERSION}/${NEW_MINIMUM_REQUIRED_VERSION}/" $FILE
#a9379f4e42efb754c9a618047bfbf292d74dfd0fdone