Closed JakeQuilty closed 4 years ago
@izgeri Removing bin/release
was part of switching the release process to be similar to Secretless'. The release instructions are paraphrased from the Secretless release process.
Since the process changed, the old process had requirements and workflows in bin/release
that did not transfer over.
bin/release
:
Keeping bin/release
would have meant deleting almost the entire script and re-writing it to just do the tagging:
# [grab version number]
# [check if version number has changed]
git tag -a "vx.y.z" -m "vx.y.z release"
git push vx.y.z
Since the Secretless flow I was following did not use a script to do these steps, I followed that flow.
Personally, I feel like doing the tag
and push
steps manually creates a natural "are you sure?" process so someone with access doesn't accidentally run the release
script and push a new tag without meaning to.
Would you like me to add these notes to the commit body, or is having them in the PR good enough?
Thanks @JakeQuilty - I'm ok with having them in the PR. We're standardizing on this across our projects as much as possible (that pushing a tag == publishing), so I think it's the right step to uphold that standard here as well. Thanks!
@izgeri I'd already added some extra details to the commit and pushed as you sent that. It's only a few sentences of that comment to sum it up
Code Climate has analyzed commit 2273b770 and detected 0 issues on this pull request.
The test coverage on the diff in this pull request is 100.0% (50% is the threshold).
This pull request will bring the total coverage in the repository to 92.0% (0.0% change).
View more on Code Climate.
What does this PR do?
What ticket does this PR close?
Connected to https://github.com/cyberark/conjur-api-ruby/issues/173
Checklists
Change log
Test coverage
Documentation
README
s) were updated in this PR, and/or there is a follow-on issue to update docs, or