1
0
mirror of https://github.com/rancher/os.git synced 2025-09-15 22:49:08 +00:00

Update release scripts

1. also upload the artifacts to the github release page
2. add checksums for most artifacts
This commit is contained in:
niusmallnan
2019-02-21 11:22:38 +08:00
committed by niusmallnan
parent a462e3e518
commit 7f4f270129
8 changed files with 66 additions and 29 deletions

View File

@@ -9,7 +9,6 @@ ARTIFACTS=$(pwd)/dist/artifacts
CD=${BUILD}/cd
rm -rf ${CD}/
ISO=${ARTIFACTS}/$(echo ${DISTRIB_ID} | tr '[:upper:]' '[:lower:]').iso
CHECKSUM=iso-checksums.txt
mkdir -p ${CD}/boot/isolinux
mkdir -p ${CD}/rancheros
@@ -42,7 +41,3 @@ cd ${CD} && xorriso \
-o $ISO ${CD}
cd $(dirname $ISO)
rm -f $CHECKSUM
for algo in sha256 md5; do
echo "$algo: $(${algo}sum $(basename $ISO))" >> $CHECKSUM
done