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:
@@ -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
|
||||
|
Reference in New Issue
Block a user