message: add get version
diff: @@ -16,6 +16,21 @@ workflows:
  - 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
  # requires:
  @@ -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)'
  