Skip to content

Commit 74fdeb5

Browse files
committedJan 9, 2012
Modify canary.xml when you run canary.sh
1 parent e042ac8 commit 74fdeb5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎canary.sh

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ ruby "/Users/georgen/Downloads/Sparkle 1.5b6/Extras/Signing Tools/sign_update.rb
1111
SIG=$(cat /tmp/sig.txt)
1212
DATE=$(date +"%a, %d %b %Y %H:%M:%S %z")
1313
cp ../../appcasts/template.xml /tmp
14+
cat /tmp/template.xml | \
15+
sed -e "s/%VER%/${VERSION}/" | \
16+
sed -e "s/%DATE%/${DATE}/" | \
17+
sed -e "s/%NAME%/${NAME}/" | \
18+
sed -e "s/%LENGTH%/$LENGTH/" |
19+
sed -e "s,%SIG%,${SIG}," > ../../appcasts/canary.xml
1420
echo "Go upload the iTerm2-${NAME}.zip, then run:"
1521
echo "git tag v${VERSION}"
1622
echo "git push --tags"

0 commit comments

Comments
 (0)
Please sign in to comment.