File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -71,13 +71,10 @@ jobs:
71
71
git config --local user.name "Node.js GitHub Bot"
72
72
73
73
- name : Start git node release prepare
74
- # `git update-index` tells git to ignore future changes to the `.sh` file,
75
- # `|| true` is there to ignore the error if such file doesn't exist yet.
76
74
# The curl command is to make sure we run the version of the script corresponding to the current workflow.
77
75
run : |
78
- git update-index --assume-unchanged tools/actions/create-release-proposal.sh || true
79
- curl -fsSLo tools/actions/create-release-proposal.sh https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release-proposal.sh
80
- ./tools/actions/create-release-proposal.sh "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
76
+ curl -fsSL https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release-proposal.sh |\
77
+ sh -s -- "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
81
78
env :
82
79
GH_TOKEN : ${{ github.token }}
83
80
# We want the bot to push the push the release commit so CI runs on it.
You can’t perform that action at this time.
0 commit comments