Skip to content

Commit

Permalink
Scripts now copy RSS into source tree where it needs to be for Github…
Browse files Browse the repository at this point in the history
… Pages,
  • Loading branch information
uliwitness committed Feb 21, 2019
1 parent 7f43b2e commit a202a8f
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 27 deletions.
7 changes: 7 additions & 0 deletions build_and_upload_release.command
Original file line number Diff line number Diff line change
Expand Up @@ -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'"'`
Expand Down Expand Up @@ -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}`"

Expand All @@ -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
60 changes: 34 additions & 26 deletions docs/nightlies/stacksmith_nightlies.rss
Original file line number Diff line number Diff line change
@@ -1,28 +1,36 @@
<?xml version="1.0"?>
<rss version="2.0"
<rss version="2.0"
xmlns:sparkle="http://sparkle.andymatuschak.org/rss/1.0/modules/sparkle/">
<channel>
<title>Stacksmith nightly Appcast</title>
<link>http://stacksmith.org/</link>
<description>Updates for Stacksmith</description>
<item>
<title>Stacksmith 1.0a11 (1718)</title>
<link>https://github.com/uliwitness/Stacksmith/releases/download/Stacksmith_1_0_a11_1718/Stacksmith.tgz</link>
<description>&lt;h3&gt;2019-02-11&lt;/h3&gt;
Fix 'no property &quot;1:tool&quot;' error messages.&lt;br /&gt;
&lt;h3&gt;2019-02-10&lt;/h3&gt;
Fix accidental event masks where we should have been using event types and thus got a hang in mouse tracking.&lt;br /&gt;
Rewrite WILDViewFactory to create objects based on NSNib, not by archiving/unarchiving ourselves, which builds with the new SDK.&lt;br /&gt;
More informative build log messages.&lt;br /&gt;
Merge branch 'master' into development&lt;br /&gt;
Don't commit the Gemfile.lock&lt;br /&gt;
Merge branch 'master' into development&lt;br /&gt;
Restore content from our two old websites.&lt;br /&gt;
Merge branch 'master' into development&lt;br /&gt;
Commit generated API docs for website.&lt;br /&gt;
</description>
<enclosure url="https://github.com/uliwitness/Stacksmith/releases/download/Stacksmith_1_0_a11_1718/Stacksmith.tgz" length="7407984" type="application/octet-stream" sparkle:dsaSignature="MC0CFQDvH8NwdwEIftMP6bS0Tz7FwhWBGgIUfxwzlADDER5eCcwLFt5KrY+HvtE=" />
<sparkle:version>1.0a11 (1718)</sparkle:version>
</item>
</channel>
</rss>
<channel>
<title>Stacksmith nightly Appcast</title>
<link>http://stacksmith.org/</link>
<description>Updates for Stacksmith</description>
<item>
<title>Stacksmith 1.0a11 (1765)</title>
<link>https://github.com/uliwitness/Stacksmith/releases/download/Stacksmith_1_0_a11_1765/Stacksmith.tgz</link>
<description>&lt;h3&gt;2019-02-21&lt;/h3&gt;
Now have one &quot;build-and-upload&quot; script.&lt;br /&gt;
Release script now actually works!&lt;br /&gt;
We were parsing the JSON wrong and thus truncating the upload URL.&lt;br /&gt;
For now, make our releases drafts.&lt;br /&gt;
WIP on a script that uploads a release to Github that was built using the nightly_build.command script&lt;br /&gt;
It successfully creates the release, but the upload fails (but can be done via the website).&lt;br /&gt;
&lt;h3&gt;2019-02-20&lt;/h3&gt;
Prettify the code snippet list a bit.&lt;br /&gt;
Add icons to a few of the message snippets.&lt;br /&gt;
&lt;h3&gt;2019-02-19&lt;/h3&gt;
Make dropping snippets in a script work properly: You can't drop inside a handler, only between them.&lt;br /&gt;
WIP on making snippet insertion work.&lt;br /&gt;
Oops wromg suffix.&lt;br /&gt;
Icon picker cleanup.&lt;br /&gt;
&lt;h3&gt;2019-02-18&lt;/h3&gt;
Icon picker now correctly shows the selection.&lt;br /&gt;
Icon picker now displays images again, though hit-testing still seems to be intercepted by the icon and label.&lt;br /&gt;
Touch-ups to magnifying glass.&lt;br /&gt;
Better object (&quot;file&quot;) names in debugger.&lt;br /&gt;
</description>
<enclosure url="https://github.com/uliwitness/Stacksmith/releases/download/Stacksmith_1_0_a11_1765/Stacksmith.tgz" length="9865665" type="application/octet-stream" sparkle:dsaSignature="MC0CFERYw7AxjRuPl2ZYQ23+gioOw2PoAhUAq8DAeptUTtGylpwXEel5jl9R3sQ=" />
<sparkle:version>1.0a11 (1765)</sparkle:version>
</item>
</channel>
</rss>
2 changes: 1 addition & 1 deletion nightly_build.command
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit a202a8f

Please sign in to comment.