diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a4a45a..fad1f71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,9 +29,20 @@ jobs: pnpm install pnpm build - - name: Fetch latest tags + - name: Confirm version run: | - git fetch --tags + echo "Current version:" + cat package.json | grep version + + - name: Push new tags + run: | + git push --follow-tags + sleep 10 # Delay to ensure tags are processed + + - name: Checkout latest version + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Release uses: softprops/action-gh-release@v2