Sync branches (#231)

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
pull/232/head
Jerome Luckenbach 2021-01-09 21:16:22 +01:00 committed by GitHub
parent eea2d238ca
commit ba4c5247cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -24,12 +24,13 @@ pool:
steps:
# tag CI-produced packages with a version number pointing to the commit which was built.
# for PRs, also include the PR #.
# Temporary remove ci naming for non pr builds
- bash: |
PACKAGE_VERSION=$(node -p "require('./package.json').version")
if [ -n "$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER" ]; then
VERSION_STRING=${PACKAGE_VERSION}-pr-${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER}-$(git rev-parse --short HEAD)
else
VERSION_STRING=${PACKAGE_VERSION}-ci-$(git rev-parse --short HEAD)
VERSION_STRING=${PACKAGE_VERSION}
fi
npm --no-git-tag-version version $VERSION_STRING
echo "##vso[build.updatebuildnumber]${VERSION_STRING}_${BUILD_BUILDID}"

View File

@ -2,7 +2,7 @@
"name": "openhab",
"displayName": "openHAB",
"description": "Robust tool for openHAB textual configurations. Includes code snippets, syntax highlighting, language server integration and more.",
"version": "0.8.0-beta",
"version": "0.8.0",
"publisher": "openhab",
"icon": "openhab.png",
"repository": {