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": {