Skip to content

Commit

Permalink
don't automatically do it to all the HTML files
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn Allen committed Jun 29, 2012
1 parent b0a8e7a commit 40f3b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
VERSION=`perl -nle 'print $1 if /tile.stamen.js (v[0-9\\.]+)/' js/tile.stamen.js`
echo "Updating to version $VERSION..."
perl -pi -e "s/(tile.stamen.js)([^\"]*)/\$1?$VERSION/g" *.html */*.html
perl -pi -e "s/(tile.stamen.js)([^\"]*)/\$1?$VERSION/g" $*

0 comments on commit 40f3b4e

Please sign in to comment.