From: <abe...@us...> - 2016-07-17 19:26:33
|
Revision: 7757 http://sourceforge.net/p/astlinux/code/7757 Author: abelbeck Date: 2016-07-17 19:26:32 +0000 (Sun, 17 Jul 2016) Log Message: ----------- beta-run-image-upload script, upload the current ChangeLog.txt with the beta images Modified Paths: -------------- branches/1.0/scripts/beta-run-image-upload Modified: branches/1.0/scripts/beta-run-image-upload =================================================================== --- branches/1.0/scripts/beta-run-image-upload 2016-07-16 13:30:19 UTC (rev 7756) +++ branches/1.0/scripts/beta-run-image-upload 2016-07-17 19:26:32 UTC (rev 7757) @@ -9,6 +9,10 @@ S3_BUCKET="beta.astlinux-project" +CHANGELOG="docs/ChangeLog.txt" + +CHANGELOG_DIR="astlinux-changelog" + success_count=0 delete_dir() @@ -108,11 +112,18 @@ fi fi +if [ ! -f "$CHANGELOG" ]; then + echo "beta-run-image-upload: changelog file \"$CHANGELOG\" not found." + exit 1 +fi + if [ ! -f "$auth_file" ]; then echo "beta-run-image-upload: authentication file \"$auth_file\" not found." exit 1 fi +# Remove pre-existing ChangeLog.txt +delete_dir "$CHANGELOG_DIR" for asterisk in ast18 ast11 ast13; do @@ -126,6 +137,9 @@ done +# Upload current ChangeLog.txt +upload_file "$CHANGELOG_DIR" "$CHANGELOG" + echo " ## ## Beta Run-Image Upload Finished for '$success_count' Images This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |