From a202a8faf0fefec15720e00b24eb84598bfeb0fd Mon Sep 17 00:00:00 2001 From: Uli Kusterer Date: Thu, 21 Feb 2019 23:59:05 +0100 Subject: [PATCH] Scripts now copy RSS into source tree where it needs to be for Github Pages, --- build_and_upload_release.command | 7 +++ docs/nightlies/stacksmith_nightlies.rss | 60 ++++++++++++++----------- nightly_build.command | 2 +- 3 files changed, 42 insertions(+), 27 deletions(-) diff --git a/build_and_upload_release.command b/build_and_upload_release.command index 529402c8..ffa7a018 100755 --- a/build_and_upload_release.command +++ b/build_and_upload_release.command @@ -2,6 +2,8 @@ source "`dirname $0`/nightly_build.command" +echo "$(tput setaf 6)$(tput bold)===== Creating Release =====$(tput sgr0)" + OWNER="uliwitness" REPO="Stacksmith" TOKEN=`security 2>&1 >/dev/null find-generic-password -ga GithubStacksmithUploadToken | cut -f2 -d'"'` @@ -62,6 +64,8 @@ else exit 1 fi +echo "$(tput setaf 6)$(tput bold)===== Uploading Binary =====$(tput sgr0)" + cd "`dirname ${ARCHIVE_PATH}`" ARCHIVE_NAME="`basename ${ARCHIVE_PATH}`" @@ -85,8 +89,11 @@ if [[ $? -eq 0 ]]; then releaseurl="https://github.com/${OWNER}/${REPO}/releases/tag/v${VERSION_TAG}" echo "New release at: $releaseurl" open -a "Safari" "$releaseurl" + + echo -ne '\007' else echo Upload error! echo "$download" + echo -ne '\007' exit 2 fi diff --git a/docs/nightlies/stacksmith_nightlies.rss b/docs/nightlies/stacksmith_nightlies.rss index 9b1a7ba7..7dd0f1c8 100644 --- a/docs/nightlies/stacksmith_nightlies.rss +++ b/docs/nightlies/stacksmith_nightlies.rss @@ -1,28 +1,36 @@ - - - Stacksmith nightly Appcast - http://stacksmith.org/ - Updates for Stacksmith - - Stacksmith 1.0a11 (1718) - https://github.com/uliwitness/Stacksmith/releases/download/Stacksmith_1_0_a11_1718/Stacksmith.tgz - <h3>2019-02-11</h3> - Fix 'no property "1:tool"' error messages.<br /> - <h3>2019-02-10</h3> - Fix accidental event masks where we should have been using event types and thus got a hang in mouse tracking.<br /> - Rewrite WILDViewFactory to create objects based on NSNib, not by archiving/unarchiving ourselves, which builds with the new SDK.<br /> - More informative build log messages.<br /> - Merge branch 'master' into development<br /> - Don't commit the Gemfile.lock<br /> - Merge branch 'master' into development<br /> - Restore content from our two old websites.<br /> - Merge branch 'master' into development<br /> - Commit generated API docs for website.<br /> - - - 1.0a11 (1718) - - - + + Stacksmith nightly Appcast + http://stacksmith.org/ + Updates for Stacksmith + + Stacksmith 1.0a11 (1765) + https://github.com/uliwitness/Stacksmith/releases/download/Stacksmith_1_0_a11_1765/Stacksmith.tgz + <h3>2019-02-21</h3> +Now have one "build-and-upload" script.<br /> +Release script now actually works!<br /> +We were parsing the JSON wrong and thus truncating the upload URL.<br /> +For now, make our releases drafts.<br /> +WIP on a script that uploads a release to Github that was built using the nightly_build.command script<br /> +It successfully creates the release, but the upload fails (but can be done via the website).<br /> +<h3>2019-02-20</h3> +Prettify the code snippet list a bit.<br /> +Add icons to a few of the message snippets.<br /> +<h3>2019-02-19</h3> +Make dropping snippets in a script work properly: You can't drop inside a handler, only between them.<br /> +WIP on making snippet insertion work.<br /> +Oops wromg suffix.<br /> +Icon picker cleanup.<br /> +<h3>2019-02-18</h3> +Icon picker now correctly shows the selection.<br /> +Icon picker now displays images again, though hit-testing still seems to be intercepted by the icon and label.<br /> +Touch-ups to magnifying glass.<br /> +Better object ("file") names in debugger.<br /> + + + 1.0a11 (1765) + + + \ No newline at end of file diff --git a/nightly_build.command b/nightly_build.command index 2305d565..e6d0b832 100755 --- a/nightly_build.command +++ b/nightly_build.command @@ -35,7 +35,7 @@ echo "Signature of ${SIGFILEPATH}: $DSASIGNATURE" cd ${REPO_DIR} ${REPO_DIR}/writerss.php ${BUILD_DEST_PATH}/Stacksmith.app/Contents/Info.plist nightly ${BUILD_DEST_PATH}/Stacksmith.tgz $DSASIGNATURE cd ${BUILD_DEST_PATH} -mv nightly_feed.rss stacksmith_nightlies.rss +mv -f nightly_feed.rss ${REPO_DIR}/docs/nightlies/stacksmith_nightlies.rss open ~/Programming/Output/ echo -ne '\007'