Check if docker env is defined
This commit is contained in:
parent
38e6159f59
commit
f9e117387b
3 changed files with 7 additions and 2 deletions
|
@ -3,6 +3,7 @@ FROM git.zontreck.com/ariascreations/conanservermanager:builddeps AS BUILDER
|
|||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
ENV DOCKER 1
|
||||
WORKDIR /app
|
||||
RUN PATH=$PATH:/flutter/bin /bin/bash /app/compile.sh
|
||||
|
||||
|
|
|
@ -5,7 +5,11 @@ then
|
|||
mkdir out
|
||||
fi
|
||||
|
||||
if [[ -z "${DOCKER}" ]]
|
||||
then
|
||||
flutter build linux
|
||||
fi
|
||||
|
||||
dart compile exe -o out/server bin/server.dart
|
||||
rsync -a --progress -h --delete build/linux/x64/release/bundle/ out/client/
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 1.1.0+41
|
||||
version: 1.1.0+42
|
||||
|
||||
environment:
|
||||
sdk: '>=3.1.4 <4.0.0'
|
||||
|
|
Loading…
Reference in a new issue