Skip to content

Commit

Permalink
Fix up the source map url for the version tagged builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Oct 3, 2013
1 parent 826b29a commit cde2d60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit cde2d60

Please sign in to comment.