1
0
mirror of https://github.com/rancher/os.git synced 2025-09-16 15:09:27 +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

@@ -8,8 +8,8 @@ touch .make-hyperv
source ./scripts/version
./scripts/release-build
touch dist/publish_gss_${VERSION}.sh dist/publish_gss_latest.sh
chmod 755 dist/publish_gss_${VERSION}.sh dist/publish_gss_latest.sh
touch dist/publish.sh dist/publish_gss_${VERSION}.sh dist/publish_gss_latest.sh
chmod 755 dist/publish.sh dist/publish_gss_${VERSION}.sh dist/publish_gss_latest.sh
for file in $(ls dist/artifacts/); do
case $file in
@@ -23,3 +23,5 @@ for file in $(ls dist/artifacts/); do
;;
esac
done
echo "github-release upload --user rancher --repo os --tag ${VERSION} --file dist/artifacts/rancheros.iso --name rancheros-hyperv.iso" > dist/publish.sh