Skip to content

Commit d732852

Browse files
aduh95targos
authored andcommitted
tools: edit create-release-proposal workflow
Small cleanup edits. PR-URL: #56540 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent d5df822 commit d732852

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/create-release-proposal.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Set up ghauth config (Ubuntu)
6262
run: |
6363
mkdir -p "${XDG_CONFIG_HOME:-~/.config}/changelog-maker"
64-
echo '{}' | jq '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
64+
jq --null-input '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
6565
env:
6666
TOKEN: ${{ github.token }}
6767

@@ -73,9 +73,9 @@ jobs:
7373
- name: Start git node release prepare
7474
# The curl command is to make sure we run the version of the script corresponding to the current workflow.
7575
run: |
76-
git update-index --assume-unchanged tools/actions/create-release.sh
77-
curl -fsSLo tools/actions/create-release.sh https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release.sh
78-
./tools/actions/create-release.sh "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
76+
git update-index --assume-unchanged tools/actions/create-release-proposal.sh
77+
curl -fsSLo tools/actions/create-release-proposal.sh https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release-proposal.sh
78+
./tools/actions/create-release-proposal.sh "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
7979
env:
8080
GH_TOKEN: ${{ github.token }}
8181
# We want the bot to push the push the release commit so CI runs on it.
File renamed without changes.

0 commit comments

Comments
 (0)