git.iko.soy/typeable/oauth2-proxy
on master help sign in
chore: Create sha256sum for tar instead of binary (#2343)

* Create sha256sum for tar instead of binary * chore: Add checksum for binary * chore: Updated changelog --------- Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>

commit51a5765f77fa51ae293603f1de90a3407105c83b authorKoen van Zuijlen <8818390+kvanzuijlen@users.noreply.github.com> dateSat 20 Jan 2024, 20:18 (3 years ago) parent5ba54df
2 files changed+8−3
CHANGELOG.md+2 dist.sh+6−3
CHANGELOG.md+2
@@ -21,6 +21,8 @@
2121- [#1949](https://github.com/oauth2-proxy/oauth2-proxy/pull/1949) Allow cookie names with dots in redis sessions (@miguelborges99)
2222- [#2297](https://github.com/oauth2-proxy/oauth2-proxy/pull/2297) Add nightly build and push (@tuunit)
2323- [#2299](https://github.com/oauth2-proxy/oauth2-proxy/pull/2299) bugfix: OIDCConfig based providers are not respecting flags and configs (@tuunit)
24+- [#2248](https://github.com/oauth2-proxy/oauth2-proxy/pull/2248) Added support for semicolons in query strings.
25+- [#2343](https://github.com/oauth2-proxy/oauth2-proxy/pull/2343) chore: Added checksums for .tar.gz (@kvanzuijlen)
2426- [#2248](https://github.com/oauth2-proxy/oauth2-proxy/pull/2248) Added support for semicolons in query strings. (@timwsuqld)
2527- [#2196](https://github.com/oauth2-proxy/oauth2-proxy/pull/2196) Add GitHub groups (orgs/teams) support. Including `X-Forwarded-Groups` header (@tuunit)
2628- [#2295](https://github.com/oauth2-proxy/oauth2-proxy/pull/2295) Change base-image to [GoogleContainerTools/distroless](https://github.com/GoogleContainerTools/distroless) (@kvanzuijlen)
dist.sh+6−3
@@ -41,11 +41,14 @@ for ARCH in "${ARCHS[@]}"; do
4141
4242 cd release
4343
44− # Create sha256sum for architecture specific binary
45− sha256sum ${BINARY}-${VERSION}.${ARCH}/${BINARY} > ${BINARY}-${VERSION}.${ARCH}-sha256sum.txt
46−
4744 # Create tar file for architecture specific binary
4845 tar -czvf ${BINARY}-${VERSION}.${ARCH}.tar.gz ${BINARY}-${VERSION}.${ARCH}
4946
47+ # Create sha256sum for architecture-specific tar
48+ sha256sum ${BINARY}-${VERSION}.${ARCH}.tar.gz > ${BINARY}-${VERSION}.${ARCH}.tar.gz-sha256sum.txt
49+
50+ # Create sha256sum for architecture specific binary
51+ sha256sum ${BINARY}-${VERSION}.${ARCH}/${BINARY} > ${BINARY}-${VERSION}.${ARCH}-sha256sum.txt
52+
5053 cd ..
5154done