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

Improve github-release.sh #590

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

zijun726911
Copy link
Contributor

Improve github-release.sh, delete local release branch/ tag if it exist, show error message if release branch/ tag exists remotely

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@zijun726911 zijun726911 force-pushed the improve-github-release-script branch from d652bb4 to 325f4d7 Compare January 19, 2024 02:07
@zijun726911 zijun726911 requested a review from solmonk January 19, 2024 02:08
@@ -49,9 +49,11 @@ function sed_inplace() {

if [[ "$OSTYPE" == "darwin"* ]]; then
# macOS uses BSD sed
echo "sed -i '' \"s|$pattern|$replacement|g\" \"$file\""
Copy link
Contributor

Choose a reason for hiding this comment

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

you might want to look into something like set -x instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, let me remove it, I think people are free to add set -x by themself when debugging

@zijun726911 zijun726911 merged commit c29b39a into aws:main Jan 19, 2024
2 checks passed
solmonk pushed a commit to solmonk/aws-application-networking-k8s that referenced this pull request Jan 31, 2024
* Improve github-release.sh

* Address PRs comments

---------

Co-authored-by: Zijun Wang <[email protected]>
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.

2 participants