mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-11-26 02:30:48 -06:00
fc7debba3f
- Restructured linux repo directory structure to include Stable and Nightly releases - Reworked Earthfile to pass IS_NIGHTLY boolean to package build scripts for use in file names - Added nightly pipeline to CICD config yaml. Pipeline is triggered by IS_NIGHTLY variable - Two distribution scripts now exist, one for Stable and one for Nightly - Reworked RPM build spec files to create appropriate file names - Reworked debian release generation scripts - RPM repo directory structure is prepped for arm64 builds - Switched from scp to rsync for moving the completed repo from ochestration to repo server - Created schedule in Gitlab UI to trigger nightly release at 2300 Central Time
27 lines
571 B
Bash
27 lines
571 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
do_hash() {
|
|
HASH_NAME=$1
|
|
HASH_CMD=$2
|
|
echo "${HASH_NAME}:"
|
|
for f in $(find -type f); do
|
|
f=$(echo $f | cut -c3-) # remove ./ prefix
|
|
if [ "$f" = "Release" ]; then
|
|
continue
|
|
fi
|
|
echo " $(${HASH_CMD} ${f} | cut -d" " -f1) $(wc -c $f)"
|
|
done
|
|
}
|
|
|
|
cat << EOF
|
|
Origin: packages.veilid.net
|
|
Suite: stable
|
|
Architectures: amd64 arm64
|
|
Components: main
|
|
Description: Official repository for Veilid binaries.
|
|
Date: $(date -Ru)
|
|
EOF
|
|
do_hash "MD5Sum" "md5sum"
|
|
do_hash "SHA1" "sha1sum"
|
|
do_hash "SHA256" "sha256sum" |