Remobve build number from version
Some checks failed
FarmMaps/FarmMapsLib/pipeline/head There was a failure building this commit

This commit is contained in:
Willem Dantuma 2021-06-03 09:42:59 +02:00
parent 34b067fd28
commit 4b7b639046
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -2,7 +2,7 @@ pipeline {
agent any agent any
environment { environment {
PACKAGE_VERSION_PREFIX=sh(script: 'jq .version package.json |sed "s/\\"//g"', returnStdout: true).trim() PACKAGE_VERSION_PREFIX=sh(script: 'jq .version package.json |sed "s/\\"//g"', returnStdout: true).trim()
PACKAGE_VERSION="${PACKAGE_VERSION_PREFIX + '.' + env.BUILD_NUMBER}" PACKAGE_VERSION="${PACKAGE_VERSION_PREFIX}"
} }
stages { stages {
stage('npm install'){ stage('npm install'){

View File

@ -1,6 +1,6 @@
{ {
"name": "farmmaps-lib-app", "name": "farmmaps-lib-app",
"version": "0.0.1", "version": "1.0.0",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",