Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

Commit

Permalink
Try updating build script to work with asset cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Nikel committed Dec 28, 2015
1 parent 2c8070b commit 57db2d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ after_success: |
git clone --depth=1 --branch=master https://github.com/mapillary/traffico-release.git ../traffico-release
git clone --depth=1 --branch=gh-pages https://github.com/mapillary/traffico.git ../traffico-pages
printf "\nRemoving old font assets from release repo..."
rm -f ../traffico-release/fonts/traffico.*
printf "\nUnzipping release into release repo..."
unzip -o build/dist/traffico.zip -d ../traffico-release
Expand All @@ -56,7 +59,8 @@ after_success: |
printf "\nCommitting and pushing to release repo..."
cd ../traffico-release
git commit -a -m "Drop in $TRAVIS_TAG"
git add .
git commit -m "Drop in $TRAVIS_TAG"
git tag "$TRAVIS_TAG"
git push origin master "$TRAVIS_TAG"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "traffico",
"version": "0.1.22",
"version": "0.1.23",
"description": "Traffic signs packaged in a font",
"main": "gulpfile.js",
"repository": {
Expand Down

0 comments on commit 57db2d1

Please sign in to comment.