Skip to content

Commit

Permalink
Merge 24e5331 into backport/build-workflow-dev/general-polish/eagerly…
Browse files Browse the repository at this point in the history
…-natural-aardvark
  • Loading branch information
teamterraform authored May 23, 2022
2 parents 400e1a4 + 24e5331 commit 7614a8c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,11 @@ jobs:
# Split off the build metadata part, if any
# (we won't actually include it in our final version, and handle it only for
# compleness against semver syntax.)
IFS='+' read -ra BUILD_METADATA_PARTS <<< "$VERSION"
VERSION="${BUILD_METADATA_PARTS[0]}"
BUILD_META="${BUILD_METADATA_PARTS[1]}"
IFS='+' read -ra VERSION BUILD_META <<< "$VERSION"
# Separate out the prerelease part, if any
# (version.go expects it to be in a separate variable)
IFS='-' read -ra PRERELEASE_PARTS <<< "$VERSION"
BASE_VERSION="${PRERELEASE_PARTS[0]}"
PRERELEASE="${PRERELEASE_PARTS[1]}"
IFS='-' read -r BASE_VERSION PRERELEASE <<< "$VERSION"
EXPERIMENTS_ENABLED=0
if [[ "$PRERELEASE" == alpha* ]]; then
Expand Down

0 comments on commit 7614a8c

Please sign in to comment.