mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-01 00:46:38 +00:00
Merge pull request #520 from ganeshmaharaj/release-tag-retry
release: Allow re-tries of tagging and github releases
This commit is contained in:
@@ -145,7 +145,7 @@ create_github_release() {
|
||||
tag=${2:-}
|
||||
[ -d "${repo_dir}" ] || die "No repository directory"
|
||||
[ -n "${tag}" ] || die "No tag specified"
|
||||
if ! "${hub_bin}" release | grep -q "^${tag}$"; then
|
||||
if ! "${hub_bin}" release show "${tag}"; then
|
||||
info "Creating Github release"
|
||||
if [[ "$tag" =~ "-rc" ]]; then
|
||||
rc_args="-p"
|
||||
|
Reference in New Issue
Block a user