only execute crates.io publish on merges to master

This commit is contained in:
Ritesh Chitlangi 2021-10-29 10:47:21 +08:00
parent 8c01d983fa
commit ea98b5bd05
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ steps:
- if [ $EPP_CLIENT_MACROS_VERSION_CHANGE -eq 2 ]; then echo "epp-client-macros version updated. publishing to crates.io" && cd epp-client-macros && cargo publish && cd .. ; else echo "epp-client-macros version unchanged"; fi - if [ $EPP_CLIENT_MACROS_VERSION_CHANGE -eq 2 ]; then echo "epp-client-macros version updated. publishing to crates.io" && cd epp-client-macros && cargo publish && cd .. ; else echo "epp-client-macros version unchanged"; fi
when: when:
branch: master branch: master
event: push
volumes: volumes:
- name: ssh - name: ssh