-
Notifications
You must be signed in to change notification settings - Fork 38
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
Do not overwrite existing files during unzip #47
Conversation
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't an overwrite -o
rather what you want if you bump providers?
In the above case the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
It was just a thought that corrupted filed would never be overwritten in case you execute the script multiple times (locally), but I'm also okay with this approach. |
What this PR does / why we need it:
Staring from v1.92.0 provider-alicloud plugin packages not only the plugin binary, but also the
CHANGELOG.md
,LICENSE
,README.md
files.Trying to bump our provider-alicloud version in #45, fails with:
With
unzip -n
we can instruct unzip to do not ask for input (and to do not overwrite existing file) in case of conflict.Release note: