git.iko.soy/typeable/oauth2-proxy
on master help sign in
dist.sh: remove go version from asset links (#733)

* dist.sh: remove go version from asset links * update changelog

commitd7abd56981c72ab71baf5429e5eefc7406c9677f authorDan Bond <danbond@protonmail.com> dateTue 25 Aug 2020, 16:41 (6 years ago) parent5fa5b31
2 files changed+6−5
CHANGELOG.md+1 dist.sh+5−5
CHANGELOG.md+1
@@ -44,6 +44,7 @@
4444- [#649](https://github.com/oauth2-proxy/oauth2-proxy/pull/650) Resolve an issue where an empty healthcheck URL and ping-user-agent returns the healthcheck response (@jordancrawfordnz)
4545- [#662](https://github.com/oauth2-proxy/oauth2-proxy/pull/662) Do not add Cache-Control header to response from auth only endpoint (@johejo)
4646- [#552](https://github.com/oauth2-proxy/oauth2-proxy/pull/522) Implements --trusted-ip option to allow clients behind specified IPs or CIDR ranges to bypass authentication (@Izzette)
47+- [#733](https://github.com/oauth2-proxy/oauth2-proxy/pull/733) dist.sh: remove go version from asset links (@syscll)
4748
4849# v6.0.0
4950
dist.sh+5−5
@@ -20,7 +20,7 @@ mkdir -p release
2020
2121# Create architecture specific release dirs
2222for ARCH in "${ARCHS[@]}"; do
23− mkdir -p release/${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}
23+ mkdir -p release/${BINARY}-${VERSION}.${ARCH}
2424
2525 GO_OS=$(echo $ARCH | awk -F- '{print $1}')
2626 GO_ARCH=$(echo $ARCH | awk -F- '{print $2}')
@@ -28,19 +28,19 @@ for ARCH in "${ARCHS[@]}"; do
2828 # Create architecture specific binaries
2929 if [[ ${GO_ARCH} == "armv6" ]]; then
3030 GO111MODULE=on GOOS=${GO_OS} GOARCH=arm GOARM=6 CGO_ENABLED=0 go build -ldflags="-X main.VERSION=${VERSION}" \
31− -o release/${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}/${BINARY} github.com/oauth2-proxy/oauth2-proxy
31+ -o release/${BINARY}-${VERSION}.${ARCH}/${BINARY} github.com/oauth2-proxy/oauth2-proxy
3232 else
3333 GO111MODULE=on GOOS=${GO_OS} GOARCH=${GO_ARCH} CGO_ENABLED=0 go build -ldflags="-X main.VERSION=${VERSION}" \
34− -o release/${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}/${BINARY} github.com/oauth2-proxy/oauth2-proxy
34+ -o release/${BINARY}-${VERSION}.${ARCH}/${BINARY} github.com/oauth2-proxy/oauth2-proxy
3535 fi
3636
3737 cd release
3838
3939 # Create sha256sum for architecture specific binary
40− sha256sum ${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}/${BINARY} > ${BINARY}-${VERSION}.${ARCH}-sha256sum.txt
40+ sha256sum ${BINARY}-${VERSION}.${ARCH}/${BINARY} > ${BINARY}-${VERSION}.${ARCH}-sha256sum.txt
4141
4242 # Create tar file for architecture specific binary
43− tar -czvf ${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}.tar.gz ${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}
43+ tar -czvf ${BINARY}-${VERSION}.${ARCH}.tar.gz ${BINARY}-${VERSION}.${ARCH}
4444
4545 cd ..
4646done