Merge pull request #5275 from tstromberg/beta

Add - for ~ replacement in release_build_and_upload
pull/5277/head v1.4.0-beta.0
Thomas Strömberg 2019-09-05 15:12:56 -07:00 committed by GitHub
commit 684ef352cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -26,6 +26,8 @@
set -eux -o pipefail set -eux -o pipefail
readonly VERSION="${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_BUILD}" readonly VERSION="${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_BUILD}"
readonly DEB_VERSION="${VERSION/-/\~}"
readonly RPM_VERSION="${DEB_VERSION}"
readonly TAGNAME="v${VERSION}" readonly TAGNAME="v${VERSION}"
# Make sure the tag matches the Makefile # Make sure the tag matches the Makefile
@ -41,10 +43,10 @@ env GOPATH=$HOME/go BUILD_IN_DOCKER=y \
make -j 16 \ make -j 16 \
all \ all \
out/minikube-installer.exe \ out/minikube-installer.exe \
"out/minikube_${VERSION}.deb" \ "out/minikube_${DEB_VERSION}.deb" \
"out/minikube-${VERSION}.rpm" \ "out/minikube-${RPM_VERSION}.rpm" \
"out/docker-machine-driver-kvm2_${VERSION}.deb" \ "out/docker-machine-driver-kvm2_${DEB_VERSION}.deb" \
"out/docker-machine-driver-kvm2-${VERSION}.rpm" "out/docker-machine-driver-kvm2-${RPM_VERSION}.rpm"
make checksum make checksum