[llvm-branch-commits] [llvm] release/18.x: github-upload-release.py: Fix bug preventing release creation (#84571) (PR #88425)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Apr 11 11:57:49 PDT 2024


https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/88425

Backport 0b9ce71a256d86c08f2b52ad2e337395b8f54b41

Requested by: @tstellar

>From 51a29dc68dadfaae2169bece88465d22e94203ca Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 8 Mar 2024 21:17:27 -0800
Subject: [PATCH] github-upload-release.py: Fix bug preventing release creation
 (#84571)

After aa02002491333c42060373bc84f1ff5d2c76b4ce we started passing the
user name to the create_release function and this was being interpreted
as the git tag.

(cherry picked from commit 0b9ce71a256d86c08f2b52ad2e337395b8f54b41)
---
 llvm/utils/release/github-upload-release.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/utils/release/github-upload-release.py b/llvm/utils/release/github-upload-release.py
index 14ec05062d88c8..8343dee937f78f 100755
--- a/llvm/utils/release/github-upload-release.py
+++ b/llvm/utils/release/github-upload-release.py
@@ -107,6 +107,6 @@ def upload_files(repo, release, files):
     sys.exit(1)
 
 if args.command == "create":
-    create_release(llvm_repo, args.release, args.user)
+    create_release(llvm_repo, args.release)
 if args.command == "upload":
     upload_files(llvm_repo, args.release, args.files)



More information about the llvm-branch-commits mailing list