Skip to content

Commit

Permalink
Now have one "build-and-upload" script.
Browse files Browse the repository at this point in the history
  • Loading branch information
uliwitness committed Feb 21, 2019
1 parent 558baac commit 2740063
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions upload_release.command → build_and_upload_release.command
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#! /bin/bash
#!/bin/bash

source "`dirname $0`/nightly_build.command"

OWNER="uliwitness"
REPO="Stacksmith"
Expand Down Expand Up @@ -77,7 +79,7 @@ echo "$succ"

download=$(echo $succ | egrep -o "\"url\":[ \t]*\"(.+?)\"," | head -n 1)
if [[ $? -eq 0 ]]; then
releaseurl="https://github.com/${OWNER}/${REPO}/releases/tag/${VERSION_TAG}"
releaseurl="https://github.com/${OWNER}/${REPO}/releases/tag/v${VERSION_TAG}"
echo "New release at: $releaseurl"
open -a "Safari" "$releaseurl"
else
Expand Down

0 comments on commit 2740063

Please sign in to comment.