Skip to content

Commit b0ef72f

Browse files
authored
Bump patch version after integrate 0.19.0 -> 0.19.1 (#2086)
1 parent 04365f8 commit b0ef72f

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

build_tools/github_actions/lint_version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ VERSION_H="stablehlo/dialect/Version.h"
2626
set_version_var() {
2727
# getCurrentVersion() { Version(0, X, Y); }
2828
VERSION_STR=$(cat $VERSION_H | grep getCurrentVersion -A1 | grep -o 'Version(.*[0-9])')
29-
REGEX="Version\(/\*.*=\*/([0-9]+), /\*.*=\*/([0-9]+), /\*.*=\*/[^0-9]*([0-9]+)\)"
29+
REGEX="Version\(([0-9]+), ([0-9]+), ([0-9]+)\)"
3030
if [[ $VERSION_STR =~ $REGEX ]]; then
3131
VERSION=("${BASH_REMATCH[1]}" "${BASH_REMATCH[2]}" "${BASH_REMATCH[3]}")
3232
else

stablehlo/dialect/Version.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,10 @@ class Version {
3838
static FailureOr<Version> fromString(llvm::StringRef versionRef);
3939

4040
/// Return a Version representing the current VHLO dialect version.
41-
static Version getCurrentVersion() {
42-
return Version(/*major=*/0, /*minor=*/19, /*patch=*/0);
43-
}
41+
static Version getCurrentVersion() { return Version(0, 19, 1); }
4442

4543
/// Return a Version representing the minimum supported VHLO dialect version.
46-
static Version getMinimumVersion() {
47-
return Version(/*major=*/0, /*minor=*/9, /*patch=*/0);
48-
}
44+
static Version getMinimumVersion() { return Version(0, 9, 0); }
4945

5046
/// Return the MLIR Bytecode Format associated with the version instance.
5147
/// Returns failure if version is not in compatibility window.

0 commit comments

Comments
 (0)