From cde2d607fb9ecf73e9e9a860e8803648e10fe214 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Thu, 3 Oct 2013 16:56:08 -0700 Subject: [PATCH] Fix up the source map url for the version tagged builds --- bin/make-release.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/make-release.sh b/bin/make-release.sh index 9167a52b0..cc13d9008 100755 --- a/bin/make-release.sh +++ b/bin/make-release.sh @@ -96,6 +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 mv platform{,-$VERSION}.min.js{,.map} ../ ok popd >/dev/null @@ -114,6 +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 mv build.log polymer{,-$VERSION}.min.js{,.map} ../ ok popd >/dev/null