From 6d4b416c7c044753cb91e870f6684556beb01fa3 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sun, 16 Oct 2022 14:58:18 +0200 Subject: [PATCH] ci: fetch tags for proper version bump --- .github/workflows/ci.yml | 2 ++ scripts/bump-edge.ts | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edb9c8e547..2317e2c463 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - run: corepack enable - uses: actions/setup-node@v3 with: diff --git a/scripts/bump-edge.ts b/scripts/bump-edge.ts index c31958a0ef..f29a792cda 100755 --- a/scripts/bump-edge.ts +++ b/scripts/bump-edge.ts @@ -90,8 +90,6 @@ async function loadWorkspace (dir: string) { } async function main () { - await execaCommand('changelogen --bump', { stdio: 'inherit' }) - const workspace = await loadWorkspace(process.cwd()) const commit = await execaCommand('git rev-parse --short HEAD').then(r => r.stdout.trim())