From 9e817554340c6b9ddd5bf9372527b69a4bb4b195 Mon Sep 17 00:00:00 2001 From: ymc9 <104139426+ymc9@users.noreply.github.com> Date: Sat, 28 Jun 2025 10:50:51 +0200 Subject: [PATCH 1/3] chore: fix bump version script --- scripts/bump-version.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/bump-version.ts b/scripts/bump-version.ts index 0f1ba723..ff4d353f 100644 --- a/scripts/bump-version.ts +++ b/scripts/bump-version.ts @@ -50,9 +50,8 @@ for (const file of packageFiles) { const content = fs.readFileSync(file, 'utf8'); const pkg = JSON.parse(content) as { version?: string }; if (pkg.version) { - const oldVersion = pkg.version; - const newVersion = incrementVersion(pkg.version); // do a string replace from oldVersion to newVersion + const oldVersion = pkg.version; const newContent = content.replace(`"version": "${oldVersion}"`, `"version": "${newVersion}"`); fs.writeFileSync(file, newContent); console.log(`Updated ${file}: ${oldVersion} -> ${newVersion}`); From 0e4559a53f3a901e6443c644c9d533e431a7aba3 Mon Sep 17 00:00:00 2001 From: ymc9 <104139426+ymc9@users.noreply.github.com> Date: Sat, 28 Jun 2025 11:01:26 +0200 Subject: [PATCH 2/3] update CI script --- .github/workflows/publish-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 20bae73c..5cbb986b 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -66,12 +66,12 @@ jobs: echo "EOF" >> $GITHUB_OUTPUT - name: Create GitHub Release - uses: actions/create-release@v1 + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ steps.version.outputs.tag }} - release_name: Release ${{ steps.version.outputs.tag }} + name: ZenStack Release ${{ steps.version.outputs.tag }} body: | ## Changes in this release From 9a914c8fdf74844f0575be33891fe55149bb0b97 Mon Sep 17 00:00:00 2001 From: ymc9 <104139426+ymc9@users.noreply.github.com> Date: Sat, 28 Jun 2025 11:02:52 +0200 Subject: [PATCH 3/3] update --- .github/workflows/publish-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 5cbb986b..0f10a888 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -27,6 +27,7 @@ jobs: with: node-version: 20.x cache: 'pnpm' + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: pnpm install --frozen-lockfile