From d573bb4ef4648959726a36a9c4700701a3cfdd5d Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Fri, 4 Oct 2013 00:51:59 -0700 Subject: [PATCH] Allow unversioned builds in release zip Fix for OS X's dumb inplace sed that left "-e" files in the release >:( --- bin/make-release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/make-release.sh b/bin/make-release.sh index cc13d9008..2f6eb625e 100755 --- a/bin/make-release.sh +++ b/bin/make-release.sh @@ -96,7 +96,7 @@ build() { # version number on build file cp platform.min.js platform-${VERSION}.min.js cp platform.min.js.map platform-${VERSION}.min.js.map - sed -i -e "s|\(//# sourceMappingURL=\)platform.min.js|\1platform-${VERSION}.min.js|" platform-${VERSION}.min.js + sed -i '' -e "s|\(//# sourceMappingURL=\)platform.min.js|\1platform-${VERSION}.min.js|" platform-${VERSION}.min.js mv platform{,-$VERSION}.min.js{,.map} ../ ok popd >/dev/null @@ -115,7 +115,7 @@ build() { # version number on build file cp polymer.min.js polymer-${VERSION}.min.js cp polymer.min.js.map polymer-${VERSION}.min.js.map - sed -i -e "s|\(//# sourceMappingURL=\)polymer.min.js|\1polymer-${VERSION}.min.js|" polymer-${VERSION}.min.js + sed -i '' -e "s|\(//# sourceMappingURL=\)polymer.min.js|\1polymer-${VERSION}.min.js|" polymer-${VERSION}.min.js mv build.log polymer{,-$VERSION}.min.js{,.map} ../ ok popd >/dev/null @@ -124,7 +124,7 @@ build() { package() { log "ZIPPING" "ALL REPOS" rm -f polymer-all-$VERSION.zip - zip -q -x "polymer-$VERSION/polymer.min.js*" -x "polymer-$VERSION/platform.min.js*" -x "polymer-$VERSION/polymer/polymer.concat.js*" -x "*.git*" -x "*node_modules/*" -r polymer-all-$VERSION.zip polymer-$VERSION + zip -q -x "polymer-$VERSION/polymer/polymer.concat.js*" -x "*.git*" -x "*node_modules/*" -r polymer-all-$VERSION.zip polymer-$VERSION ok }