diff --git a/.github/scripts/extract-release-notes.js b/.github/scripts/extract-release-notes.js index f45a399..cf3c08c 100644 --- a/.github/scripts/extract-release-notes.js +++ b/.github/scripts/extract-release-notes.js @@ -1,5 +1,5 @@ // Usage: node extract-release-notes.js -const fs = require('fs'); +import fs from 'node:fs'; const version = process.argv[2]; if (!version) { diff --git a/.github/workflows/release-finalize.yml b/.github/workflows/release-finalize.yml index 7599396..cfd4331 100644 --- a/.github/workflows/release-finalize.yml +++ b/.github/workflows/release-finalize.yml @@ -56,6 +56,7 @@ jobs: VERSION: ${{ steps.meta.outputs.version }} run: | git fetch origin develop + git push origin --delete backport/$VERSION || true git checkout -b backport/$VERSION origin/develop if git merge --no-edit origin/release/$VERSION; then