Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.

Commit

Permalink
Zips and releases, trying out getting version from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbeadle committed Jan 18, 2018
1 parent 40d35ac commit 0890c56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ script:
# - cd ..
- cd ui-src
- npm run release:files
- PACKAGE_VERSION=$(node -p -e "require('./package.json').version")
- cd ..
- cd release
- ls
- zip -r clutter-0.0.5.zip .
- zip -r clutter-$PACKAGE_VERSION.zip .
- pwd
# - docker-compose kill
# - docker-compose down
Expand All @@ -40,7 +41,7 @@ cache:
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file: clutter-0.0.5.zip
file: clutter-$PACKAGE_VERSION.zip
skip_cleanup: true
on:
tags: true

0 comments on commit 0890c56

Please sign in to comment.