CircleCI-Public / heroku-orb

Easily install and use the Heroku CLI with CircleCI to build, test, and deploy your applications to Heroku.
https://circleci.com/orbs/registry/orb/circleci/heroku
MIT License
6 stars 20 forks source link

[semver:minor] Allow CIRCLE_TAG to be used for deployments, fail if no tag or branch. #8

Closed campbecf closed 4 years ago

campbecf commented 4 years ago

https://github.com/CircleCI-Public/heroku-orb/issues/7

Should address this issue, as well as failing whenever a branch or tag cannot be found. This seems safer than just running on potentially an empty string.

I'm generally unfamiliar with bash scripting and conditionals, so I would appreciate if anyone else can double check my work / syntax.

gmemstr commented 4 years ago

@campbecf Looks like the alpha version of the orb expired, mind pushing a small/empty commit so we can re-trigger the tests?