Skip to content

Commit

Permalink
tools: do not throw on missing create-release-proposal.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Jan 22, 2025
1 parent bf59539 commit eabbd26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/create-release-proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ jobs:
git config --local user.name "Node.js GitHub Bot"
- name: Start git node release prepare
# `git update-index` tells git to ignore future changes to the `.sh` file,
# `|| true` is there to ignore the error if such file doesn't exist yet.
# The curl command is to make sure we run the version of the script corresponding to the current workflow.
run: |
git update-index --assume-unchanged tools/actions/create-release-proposal.sh
git update-index --assume-unchanged tools/actions/create-release-proposal.sh || true
curl -fsSLo tools/actions/create-release-proposal.sh https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release-proposal.sh
./tools/actions/create-release-proposal.sh "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
env:
Expand Down

0 comments on commit eabbd26

Please sign in to comment.