From 8357e33977c0c178164e5377454084861240c6da Mon Sep 17 00:00:00 2001 From: jobevers Date: Thu, 9 Feb 2017 17:48:51 -0600 Subject: [PATCH] build deb --- build.sh | 6 +++++- package.json | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index e6fe2c82b..a9143baf6 100755 --- a/build.sh +++ b/build.sh @@ -63,7 +63,11 @@ if [ -n "${TEAMCITY_VERSION:-}" ]; then security unlock-keychain -p ${KEYCHAIN_PASSWORD} osx-build.keychain fi - node_modules/.bin/build -p onTagOrDraft + set +e + export CI_BUILD_TAG=$(git describe --exact-match) + set -e + + node_modules/.bin/build -p onTag echo 'Build and packaging complete.' else diff --git a/package.json b/package.json index 71cd16676..e866eb18a 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,9 @@ "height": 300 }, "backgroundColor": "155B4A" + }, + "linux": { + "target": "deb" } }, "devDependencies": {