Skip to content

Commit

Permalink
feat(release): added semantic versioning. Fixes MEMB-832
Browse files Browse the repository at this point in the history
  • Loading branch information
serge1peshcoff committed Mar 15, 2020
1 parent 2813c1a commit 61c7cfd
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ jobs:
image: ubuntu-1604:201903-01
steps:
- checkout
- run:
name: Install Node
command: |
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
echo 'export PATH=/usr/bin:$PATH' >> $BASH_ENV
which node && node -v
- run: npm install
- run: npx semantic-release
- run: docker build --tag aegee/oms-core-js:$(node -p "require('./package.json').version") --tag aegee/oms-core-js:latest -f docker/oms-core-js/Dockerfile .
- run: docker login --username $DOCKER_LOGIN --password $DOCKER_PASSWORD
- run: docker push aegee/oms-core-js:$(node -p "require('./package.json').version")
Expand All @@ -83,9 +92,9 @@ workflows:
build:
jobs:
- build
# docker-build-and-push:
# jobs:
# - docker-build-and-push:
# filters:
# branches:
# only: master
docker-build-and-push:
jobs:
- docker-build-and-push:
filters:
branches:
only: master

0 comments on commit 61c7cfd

Please sign in to comment.