message: fix: checkout correct branch on each release step
diff: @@ -34,7 +34,6 @@ before_deploy:
  - git config --global user.email ${GITHUB_EMAIL}
  - git config --global user.name ${GITHUB_USER}
  - git remote set-url origin "https://${GITHUB_TOKEN}@github.com/energywebfoundation/origin.git" > /dev/null 2>&1
  - - git checkout release
  - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
  install:
  @@ -49,13 +48,13 @@ script:
  deploy:
  - provider: script
  - script: "yarn publish:canary"
  + script: "git checkout master && yarn publish:canary"
  skip_cleanup: true
  on:
  node: "10"
  branch: master
  - provider: script
  - script: "yarn publish:release"
  + script: "git checkout release && yarn publish:release"
  skip_cleanup: true
  on:
  node: "10"
  