We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160151b commit 237c1abCopy full SHA for 237c1ab
release.sh
@@ -33,14 +33,6 @@ if ! go version | cut -d" " -f3 | grep -q "$GO_VER"; then
33
exit 1
34
fi
35
36
-# Detect whether versions in code were updated.
37
-VER_FILE="internal/version/version.go"
38
-CURR_VER="$(sed -nr 's|\s+Version\s+= "(.+)"|\1|p' "$VER_FILE" | tr -d ' \t\n')"
39
-if [[ "$VER" != "$CURR_VER" ]]; then
40
- echo "version is not set correctly in $VER_FILE"
41
- exit 1
42
-fi
43
-
44
INSTALL_GUIDE_FILE="website/content/en/docs/installation/install-operator-sdk.md"
45
CURR_VER_INSTALL_GUIDE_FILE="$(sed -nr 's/.*RELEASE_VERSION=(.+)/\1/p' "$INSTALL_GUIDE_FILE" | tr -d ' \t\n')"
46
if [[ "$VER" != "$CURR_VER_INSTALL_GUIDE_FILE" ]]; then
0 commit comments