Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

fix(ci): scope release changelog to previous tag to avoid ENOBUFS

vholik690b1f30b161
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fec93d0a8..bb1fe8ef3 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -26,7 +26,13 @@ jobs:
- name: Generate GitHub release changelog
continue-on-error: true
- run: npx changelogithub
+ run: |
+ PREV_TAG=$(git describe --tags --abbrev=0 "${GITHUB_REF_NAME}^" 2>/dev/null || true)
+ if [ -n "$PREV_TAG" ]; then
+ npx changelogithub --from "$PREV_TAG" --to "${GITHUB_REF_NAME}"
+ else
+ npx changelogithub
+ fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}