add get version

This commit is contained in:
Gergő Jedlicska
2022-03-25 18:23:38 +01:00
parent 1f31db62b7
commit cebcde1d67
+20 -8
View File
@@ -15,6 +15,21 @@ workflows:
- gergo/CIRewrite
- lint:
filters: *filters-every-push
- get-version:
filters: &filters-build
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
branches:
only:
# - main
- gergo/CIRewrite
docker:
- image: cimg:python
steps:
- checkout
- run: ./.circleci/get_version.sh
# - build-viewer:
# # built the npm package
@@ -33,16 +48,12 @@ workflows:
# - npm_build_object_loader
- docker-build-server:
filters: *filters-build
requires:
- lint
- get-version
- test-server
filters: &filters-build
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
branches:
only:
# - main
- gergo/CIRewrite
# - docker_build_webhook_service:
# requires:
@@ -111,7 +122,8 @@ jobs:
- run: 'dockerize -wait tcp://localhost:5432 -timeout 1m'
- run:
command: npm run test:report
command: node --version
# command: npm run test:report
working_directory: 'packages/server'
# - run:
# command: 'bash <(curl -s https://codecov.io/bash)'