Merge pull request #2229 from keepassxreboot/feature/fix-release-tool-build

Fix --snapcraft flag
This commit is contained in:
Janek Bevendorff 2018-08-23 20:41:23 +02:00 committed by GitHub
commit 8b5530d2ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -710,7 +710,7 @@ build() {
${SRC_DIR}/AppImage-Recipe.sh "$APP_NAME" "$RELEASE_NAME"
fi
else
if [ BUILD_SNAPCRAFT ]; then
if ${BUILD_SNAPCRAFT}; then
logInfo "Building snapcraft docker image..."
sudo docker image build -t "$DOCKER_IMAGE" "$(realpath "$SRC_DIR")/ci/snapcraft"