Skip to content

Commit

Permalink
Set PCKG_FILE for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
petispaespea committed Apr 16, 2018
1 parent d673234 commit 5f7d5a9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ script:

after_success:
# Create the zip package for GitHub release
- export PACKAGE=palette-${PALETTE_VERSION}
- mkdir ${PACKAGE}
- find . -name \*.rpm -print0 | xargs -0 cp -t ${PACKAGE}
- zip -r ${PACKAGE}.zip ${PACKAGE}
- export PCKG_DIR=palette-${PALETTE_VERSION}
- export PCKG_FILE=palette-${PALETTE_VERSION}.zip
- mkdir ${PCKG_DIR}
- find . -name \*.rpm -print0 | xargs -0 cp -t ${PCKG_DIR}
- zip -r ${PCKG_FILE} ${PCKG_DIR}

# before_deploy:
# # This line fixes PATH warnings for some reason
Expand Down

0 comments on commit 5f7d5a9

Please sign in to comment.