Skip to content

Commit e6695a9

Browse files
authored
pacman-helper.sh: set release name to be the same as tagname
I noticed the latest release created picked up its name from the latest commit to the main branch in the pacman-repo repository, namely "2025-02-26T22-44-26.725080300Z: Merge pull request #1 from git-for-windows/populate-the-readme". Given that it's very unlikely that the commit(s) on the main branch have anything to do with the releases, just specify the name to be the same as the tagname. Signed-off-by: jeremyd2019 <[email protected]>
1 parent e1bede2 commit e6695a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pacman-helper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ quick_action () { # <action> <file>...
546546
echo "Would create a GitHub Release '$tagname' at git-for-windows/pacman-repo" >&2
547547
else
548548
id="$(curl -H "Authorization: Bearer $GITHUB_TOKEN" -sfL --show-error -XPOST -d \
549-
'{"tag_name":"'"$tagname"'","draft":true,"prerelease":true}' \
549+
'{"tag_name":"'"$tagname"'","name":"'"$tagname"'","draft":true,"prerelease":true}' \
550550
"https://api.github.com/repos/git-for-windows/pacman-repo/releases" |
551551
sed -n 's/^ "id": *\([0-9]*\).*/\1/p')"
552552
fi ||

0 commit comments

Comments
 (0)