.circleci/config.yml in danger-rcov-1.0.4 vs .circleci/config.yml in danger-rcov-1.0.5
- old
+ new
@@ -46,17 +46,14 @@
destination: coverage
- run:
name: Run Danger
command: bundle exec danger
- run:
- name: Execute Rspec Tests
- command: |
- git config --global user.email "bot@edgepetrol.com"
- git config --global user.name "EdgeBot"
- - run:
name: Run gem build and push
command: |-
- if [ "${CIRCLE_BRANCH}" == "feature/EDG-2903" ]; then
+ if [ "${CIRCLE_BRANCH}" == "master" ]; then
+ git config --global user.email "bot@edgepetrol.com"
+ git config --global user.name "EdgeBot"
gem install gem-release --no-document
gem bump --skip-ci
git remote set-url --push origin https://EdgePetrolBot:${EDGE_GITHUB_API_TOKEN}@github.com/EdgePetrol/danger-rcov.git
git push --set-upstream origin ${CIRCLE_BRANCH}
GEM_VERSION=$(gem build | awk '/File/ {print $2}')
\ No newline at end of file