-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Benjamin Toll
committed
Oct 30, 2020
1 parent
72b9e9e
commit e7574e9
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ echo | |
date "+build_release begin SIGN stage %Y%m%d_%H%M%S" | ||
echo | ||
|
||
OS_TYPE=$(./scripts/ostype.sh) | ||
VERSION=${VERSION:-$(./scripts/compute_build_number.sh -f)} | ||
BRANCH=${BRANCH:-$(./scripts/compute_branch.sh)} | ||
CHANNEL=${CHANNEL:-$(./scripts/compute_branch_channel.sh "$BRANCH")} | ||
|
@@ -46,7 +45,7 @@ for os in "${OS_TYPES[@]}"; do | |
ARCHS=(amd64 arm arm64) | ||
for arch in "${ARCHS[@]}"; do | ||
( | ||
cd "$OS_TYPE/$arch" | ||
cd "$os/$arch" | ||
|
||
# Clean package directory of any previous operations. | ||
rm -rf hashes* *.sig *.asc *.asc.gz | ||
|
@@ -61,7 +60,7 @@ for os in "${OS_TYPES[@]}"; do | |
gpg -u [email protected] --detach-sign "$file" | ||
done | ||
|
||
HASHFILE="hashes_${CHANNEL}_${OS_TYPE}_${ARCH_TYPE}_${VERSION}" | ||
HASHFILE="hashes_${CHANNEL}_${os}_${arch}_${VERSION}" | ||
|
||
md5sum *.tar.gz *.deb *.rpm >> "$HASHFILE" | ||
shasum -a 256 *.tar.gz *.deb *.rpm >> "$HASHFILE" | ||
|