mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 19:13:55 -07:00
move package files to unique name (#3438)
This commit is contained in:
parent
d9b11858fb
commit
3f40a51cdb
2 changed files with 12 additions and 3 deletions
|
|
@ -17,7 +17,8 @@ while [[ "$@" ]]; do
|
||||||
;;
|
;;
|
||||||
'--package')
|
'--package')
|
||||||
MAKE_PACKAGE=1
|
MAKE_PACKAGE=1
|
||||||
shift
|
PACKAGE_NAME="$2"
|
||||||
|
shift 2
|
||||||
;;
|
;;
|
||||||
'--server')
|
'--server')
|
||||||
MAKE_SERVER=1
|
MAKE_SERVER=1
|
||||||
|
|
@ -117,4 +118,12 @@ fi
|
||||||
|
|
||||||
if [[ $MAKE_PACKAGE ]]; then
|
if [[ $MAKE_PACKAGE ]]; then
|
||||||
make package
|
make package
|
||||||
|
if [[ $PACKAGE_NAME ]]; then
|
||||||
|
if file=$(find . -maxdepth 1 -type f -name Cockatrice-*.* -print -quit); then
|
||||||
|
mv "$file" "${file%%.*}-$PACKAGE_NAME.${file#*.}"
|
||||||
|
else
|
||||||
|
echo "could not find package" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ matrix:
|
||||||
script: docker run --mount "type=bind,source=$(pwd),target=/src" -w="/src"
|
script: docker run --mount "type=bind,source=$(pwd),target=/src" -w="/src"
|
||||||
--mount "type=bind,source=$HOME/.ccache,target=/.ccache" -e "CCACHE_DIR=/.ccache"
|
--mount "type=bind,source=$HOME/.ccache,target=/.ccache" -e "CCACHE_DIR=/.ccache"
|
||||||
img
|
img
|
||||||
bash .ci/travis-compile.sh --server --package --release
|
bash .ci/travis-compile.sh --server --package "Ubuntu18.04" --release
|
||||||
|
|
||||||
#Ubuntu Xenial (Debug only)
|
#Ubuntu Xenial (Debug only)
|
||||||
- name: Ubuntu Xenial (Debug)
|
- name: Ubuntu Xenial (Debug)
|
||||||
|
|
@ -63,7 +63,7 @@ matrix:
|
||||||
- brew install ccache
|
- brew install ccache
|
||||||
- brew install protobuf --without-python@2
|
- brew install protobuf --without-python@2
|
||||||
- brew install qt
|
- brew install qt
|
||||||
script: bash ./.ci/travis-compile.sh --server --package --release
|
script: bash ./.ci/travis-compile.sh --server --package "" --release
|
||||||
|
|
||||||
|
|
||||||
# Builds for pull requests skip the deployment step altogether
|
# Builds for pull requests skip the deployment step altogether
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue