Skip to content

Commit

Permalink
Hardcoded release tarball name
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanheerdegen committed Oct 9, 2018
1 parent 8417c71 commit 7c3f08a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ script:
- make $TYPE
before_deploy:
- git tag "$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)"
- OMPI_VERSION=$(ompi_info -v ompi full --parsable | tail -1 | cut -d: -f2)
- RELEASE_TARFILE="oasis-mct.${TYPE}.${FC}.${OMPI_VERSION}.tar.gz"
- tar -cvf ${RELEASE_TARFILE} Linux/lib/*
- tar -cvf binary_release.tar.gz Linux/lib/*
deploy:
provider: releases
api_key:
secure: jLzUE9fuKptzwSZyNbHXunqy4ltk2P6rXI2a3qIZqKEpHjmXI9fYMEXwSxtDDQAa/RK3aDUaxDJpuZodK4D+D4s2aKsX6IccPNezRl1c4TYxF4QNCfLLykCw/O7Ilb1XcNsXFH4Q6MAkbRVX/3X7myDsNijyFc+SYNFQYz4qL1w=
file: ${RELEASE_TARFILE}
file: binary_release.tar.gz
skip_cleanup: true
on:
repo: OceansAus/oasis3-mct
Expand Down

0 comments on commit 7c3f08a

Please sign in to comment.