From 4b7b6390468a05964f827ab3454522f752341e73 Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Thu, 3 Jun 2021 09:42:59 +0200 Subject: [PATCH] Remobve build number from version --- Jenkinsfile | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3c1698f..169dd2d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline { agent any environment { 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 { stage('npm install'){ diff --git a/package.json b/package.json index b0bede8..0f48c55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "farmmaps-lib-app", - "version": "0.0.1", + "version": "1.0.0", "scripts": { "ng": "ng", "start": "ng serve",