From 250518489978bf236dfd63bfb418e4d9be5cddc2 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Sun, 18 May 2025 17:28:14 +0200 Subject: [PATCH] fix release script --- .github/workflows/release-candidate.yml | 3 +-- .github/workflows/release.yml | 4 +--- private/release/commit-and-open-pr.js | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml index d99daa998..464c3656b 100644 --- a/.github/workflows/release-candidate.yml +++ b/.github/workflows/release-candidate.yml @@ -89,7 +89,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Enable Release workflow - run: - gh workflow enable "Release candidate" --repo ${{ github.repository }} + run: gh workflow enable 15329895 --repo ${{ github.repository }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5d40a6cc..89bf62468 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -115,9 +115,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Disable Release workflow - run: - gh workflow disable "Release candidate" --repo ${{ github.repository - }} + run: gh workflow disable 15329895 --repo ${{ github.repository }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: In case of failure diff --git a/private/release/commit-and-open-pr.js b/private/release/commit-and-open-pr.js index 537fd31e8..d659826ef 100644 --- a/private/release/commit-and-open-pr.js +++ b/private/release/commit-and-open-pr.js @@ -5,7 +5,7 @@ import { REPO_OWNER, REPO_NAME } from './config.js' export default async function commit (spawnOptions, ...files) { console.log(`Now is the time to do manual edits to:`) - files.forEach((f) => console.log(f)) + files.forEach((f) => console.log(f.toString())) console.log() await prompts({