Skip to content

Commit

Permalink
fixup! fixup! build: add create release proposal action
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGSS committed Nov 5, 2024
1 parent b6664a2 commit d2b8624
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-release-proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
# Needs the whole git history for ncu to work
# See https://github.com/nodejs/node-core-utils/pull/486
fetch-depth: 0
token: ${{ secrets.GH_USER_TOKEN }}

# Install dependencies
- name: Install Node.js
Expand All @@ -59,7 +58,7 @@ jobs:
- name: Configure @node-core/utils
run: |
ncu-config set branch ${{ env.RELEASE_BRANCH }}
ncu-config set branch "${RELEASE_BRANCH}"
ncu-config set upstream origin
ncu-config set username "$USERNAME"
ncu-config set token "$GH_TOKEN"
Expand All @@ -72,4 +71,5 @@ jobs:
JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}

- name: Start git node release prepare
run: ./tools/actions/create-release.sh ${{ inputs.RELEASE_DATE }}
run: |
./tools/actions/create-release.sh "${RELEASE_DATE}"
1 change: 0 additions & 1 deletion tools/actions/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ git node release --prepare --skipBranchDiff
# We use it to not specify the branch name as it changes based on
# the commit list (semver-minor/semver-patch)
git config push.default current
git push upstream
echo "/## $RELEASE_DATE/,/^<a id=/{ if (!/^<a id=/) print }" > temp.awk
awk -f temp.awk doc/changelogs/CHANGELOG_V23.md > pr-body.md
gh pr create --body-file pr-body.md
Expand Down

0 comments on commit d2b8624

Please sign in to comment.