Skip to content

Commit

Permalink
Revert "Force the latest version to be v0.16.1. (knative#3887)"
Browse files Browse the repository at this point in the history
This reverts commit b174462.
  • Loading branch information
Harwayne committed Aug 27, 2020
1 parent e57f29c commit 5da53be
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ TEST_EVENTING_NAMESPACE="${TEST_EVENTING_NAMESPACE:-"knative-eventing-"$(cat /de
| tr -dc 'a-z0-9' | fold -w 10 | head -n 1)}"

latest_version() {
# v0.17.0 is a bad release. To unblock submitting new PRs and to allow the creation of v0.17.1,
# use the most recent, valid release.
echo "v0.16.1"
local semver=$(git describe --match "v[0-9]*" --abbrev=0)
local major_minor=$(echo "$semver" | cut -d. -f1-2)

# Get the latest patch release for the major minor
git tag -l "${major_minor}*" | sort -r --version-sort | head -n1
}

# Latest release. If user does not supply this as a flag, the latest
Expand Down

0 comments on commit 5da53be

Please sign in to comment.