Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github action integration between g/gardenctl and g/homebrew-tap #14

Merged
merged 2 commits into from
Sep 4, 2020

Conversation

neo-liang-sap
Copy link
Contributor

What this PR does / why we need it:
github action integration between g/gardenctl and g/homebrew-tap
Which issue(s) this PR fixes:
Fixes gardener-attic/gardenctl#301

Special notes for your reviewer:
CC @dansible @ccwienk @zanetworker
this PR needs merge after gardener-attic/gardenctl#303
tested in my forked repo and seems OK
Release note:


@neo-liang-sap neo-liang-sap requested a review from a team as a code owner September 3, 2020 08:00
filteredTag=${1##*/}
tag=${filteredTag:-v0.17.0}
sha=${2:-8d33c751e8d32fe7fff15306c7de59cf15c45fb04e2f9abf988d3edd3f305cc4}
tag=${1:-v0.17.0}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are you defaulting to 0.17.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no preference on this ;) i set default 0.17.0 there because in your code the value is default to 0.17.0 so i kept it...shall i remove the default value?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it makes sense to default to a more stable release if you want to keep the defaults. Otherwise, we can just error if the value is not provided.

tag=${filteredTag:-v0.17.0}
sha=${2:-8d33c751e8d32fe7fff15306c7de59cf15c45fb04e2f9abf988d3edd3f305cc4}
tag=${1:-v0.17.0}
mac_sha=${2:-f6cbd049d200a1857e9bb89cd614f0f96851ef2db307a18609a18effbb4497eb}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this default sha for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again i have no preference on this default mac_sha , because i saw you have a default sha so i choose a default mac_sha, so just remove all the default value? thanks!

@neo-liang-sap
Copy link
Contributor Author

thanks @zanetworker , i removed all default values, add check whether they are empty , also fixed some typo

@neo-liang-sap neo-liang-sap merged commit f8f347e into gardener:master Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

github action - bug fix and improvement between g/gardenctl and g/homebrew-tap
2 participants