Skip to content

Commit 0ec90d1

Browse files
authored
Merge pull request #249 from rodekruis/build.version_prefix
build: use version prefix
2 parents 69a0a65 + 7f2fbbb commit 0ec90d1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

interfaces/IBF-dashboard/src/environments/environment.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ export const environment = {
1616
'http://ibf-system.westeurope.cloudapp.azure.com/geoserver/ibf-system/wms',
1717

1818
// version
19-
ibf_system_version: '0.0.0',
19+
ibf_system_version: 'v0.0.0',
2020
};

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "IBF-system",
3-
"version": "0.1.2",
3+
"version": "0.1.0",
44
"private": true,
55
"scripts": {
66
"demo": "npx npm-run-all --print-label --parallel start open",

tools/deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function deploy() {
4343
function load_environment_variables() {
4444
log "Loading environment variables..."
4545
set -a; [ -f ./.env ] && . ./.env; set +a;
46-
export NG_IBF_SYSTEM_VERSION=$(node -p "require('./package.json').version")
46+
export NG_IBF_SYSTEM_VERSION=v$(node -p "require('./package.json').version")
4747
log echo "NODE_ENV: $NODE_ENV"
4848
log echo "NG_PRODUCTION: $NG_PRODUCTION"
4949
log echo "NG_IBF_SYSTEM_VERSION: $NG_IBF_SYSTEM_VERSION"

0 commit comments

Comments
 (0)