Skip to content

Commit

Permalink
deploy only one conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben committed Apr 15, 2018
1 parent ef63f4a commit 17a07b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
- DEBUG_LOGGING=on
- DEBUG_LOGGING=off
- ENABLE_GZIP=on DEBUG_LOGGING=off
- ENABLE_LOCAL_CACHE=on ENABLE_GZIP=on ENABLE_SSL=on
- ENABLE_LOCAL_CACHE=on ENABLE_GZIP=on ENABLE_SSL=on DEBUG_LOGGING=off DEPLOY=on
- ENABLE_LOCAL_CACHE=off ENABLE_GZIP=on ENABLE_SSL=on
- ENABLE_LOCAL_CACHE=on ENABLE_GZIP=off ENABLE_SSL=off
- ENABLE_LOCAL_CACHE=off ENABLE_GZIP=off ENABLE_SSL=on
Expand All @@ -29,7 +29,7 @@ script: sudo docker run -v $PWD:/code -t interceptor /bin/bash -c "export ENABLE
before_deploy:
- git config --local user.name "bend66"
- git config --local user.email "[email protected]"
- export RELEASE_FILE=$(ls interceptor-*.tar.gz)
- export RELEASE_FILE=$(ls interceptor.tar.gz)
- sha1sum $RELEASE_FILE > $RELEASE_FILE.sha1
- echo "Deploying $RELEASE_FILE to Github"
deploy:
Expand All @@ -43,10 +43,12 @@ deploy:
- "${RELEASE_FILE}.sha1"
overwrite: true
tag_name: $TRAVIS_TAG
name: interceptor_ $TRAVIS_TAG
name: interceptor_$TRAVIS_TAG
body: automated build of interceptor $TRAVIS_TAG
on:
repo: bend/interceptor
tags: true
branch: master
condition:
- $DEPLOY = on

2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ if(CPACK_ENABLED)
set(CPACK_PACKAGE_NAME "interceptor")
set(CPACK_PACKAGE_VENDOR "Bend")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "interceptor")
set(CPACK_PACKAGE_FILE_NAME interceptor-${GIT_REVISION})
set(CPACK_PACKAGE_FILE_NAME interceptor)
set(CPACK_GENERATOR "TGZ")
set(CPACK_STRIP_FILES "1")
include(CPack)
Expand Down

0 comments on commit 17a07b5

Please sign in to comment.