Skip to content

Commit 5c4c5ae

Browse files
committed
testing fixes
1 parent b603348 commit 5c4c5ae

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/release-tasks.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,5 @@ jobs:
137137
- name: Uncomment Download Links
138138
env:
139139
GITHUB_TOKEN: ${{ github.token }}
140-
USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
141140
run: |
142-
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --release ${{ needs.validate-tag.outputs.release-version }} --user ${{ github.actor }} --user-token "$USER_TOKEN" uncomment_download_links
141+
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --release ${{ needs.validate-tag.outputs.release-version }} uncomment_download_links

llvm/utils/release/github-upload-release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,15 @@ def uncomment_download_links(repo, release):
121121
"DOWNLOAD_LINKS_END",
122122
"DOWNLOAD_LINKS_PLACEHOLDER",
123123
]
124-
for line in release.message.splitlines():
124+
for line in release.body.splitlines():
125125
for comment in to_remove:
126126
if comment in line:
127127
break
128128
else:
129129
new_message.append(line)
130130

131131
release.update_release(
132-
name=release.name,
132+
name=release.title,
133133
message="\n".join(new_message),
134134
draft=release.draft,
135135
prerelease=release.prerelease,

0 commit comments

Comments
 (0)