File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,13 @@ package zip windows-amd64 .exe
7272package tar linux-s390x
7373package tar linux-arm64
7474package tar linux-ppc64le
75+
7576# Create a checksum file for all non-checksum files in the deploy directory. Strips the leading 'deploy/' directory from filepaths. Sort by filename.
7677find deploy \( ! -name ' *sha256sum.txt' \) -type f -exec shasum -b -a 256 {} \; | sed -r ' s#(\w+\s+\*?)deploy/(.*)#\1\2#' | sort -k2 | tee ./deploy/jaeger-$VERSION .sha256sum.txt
77- # Setup gpg and sign the keys to include the files in the package. Exclude the checksum files created.
78- find deploy \( ! -name ' *sha256sum.txt' \) -type f -exec gpg --armor --detach-sign {} \; | sed -r ' s#(\w+\s+\*?)deploy/(.*)#\1\2#' | sort -k2 | tee ./deploy/jaeger-$VERSION .asc
78+
79+ # Use gpg to sign the (g)zip files (excluding checksum files) into .asc files.
80+ find deploy \( ! -name ' *sha256sum.txt' \) -type f -exec gpg --armor --detach-sign {} \;
81+
82+ # show your work
83+ ls -lF deploy/
84+
You can’t perform that action at this time.
0 commit comments