Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

Commit

Permalink
fix(ci): CPack package has new name + location
Browse files Browse the repository at this point in the history
  • Loading branch information
Croydon committed Dec 6, 2017
1 parent eb5419f commit 4ef7b83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tool/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ build() {

conan build "$gitroot"

# workaround that CPack sometimes fails on linux to copy the file to the final directory from the intermediate dir..
local tempdir="/tmp/inexor-build/_CPack_Packages/Linux/ZIP/"
local zipname="Inexor-${last_tag}-Linux.zip"
# Moving the CPack package to the /inexor directory, so we are able to access it from outside of Docker
local tempdir="/tmp/inexor-build/"
local zipname="inexor-core-${last_tag}-Linux64.zip"
local outputdir="/inexor/build/cpack/"
mkdir -pv ${outputdir}
mv -f -v -u "${tempdir}${zipname}" "${outputdir}" || true
mv -f -v -u "${tempdir}${zipname}" "${outputdir}"
)
}

Expand Down

0 comments on commit 4ef7b83

Please sign in to comment.