Skip to content

ci: include postgres template in version bumps#89

Merged
KyleJune merged 1 commit into
mainfrom
ci/postgres-template-version-bumps
Jun 1, 2026
Merged

ci: include postgres template in version bumps#89
KyleJune merged 1 commit into
mainfrom
ci/postgres-template-version-bumps

Conversation

@KyleJune

@KyleJune KyleJune commented Jun 1, 2026

Copy link
Copy Markdown
Member

Summary

The PostgreSQL template (added in #86) was never registered in the release version-bump automation. As a result, every release rewrote and committed the @udibo/juniper version for the other templates while leaving the postgres template frozen at ^0.5.0. This fixes the automation so the postgres template tracks releases like the others, and catches the template up to the current versions.

Changes

  • scripts/update-juniper-version.sh — add templates/postgres/deno.json to the FILES array so the prepare step rewrites its @udibo/juniper version on each release.
  • .releaserc.json — add templates/postgres/deno.json to the @semantic-release/git assets so the rewrite is actually committed with the release (this is the part that was silently dropping the change before).
  • templates/postgres/deno.json — catch up to the current deps to match the other templates: @udibo/juniper ^0.5.0^0.7.1, pg ^8.20.0^8.21.0, zod ^4.3.6^4.4.3.
  • deno.lock — regenerate for the postgres template workspace update.

Typed as ci (not chore(deps)/fix) on purpose: the dependency bumps are in a template, not the published src/ library, so this should not cut a no-op release of @udibo/juniper.

Testing

  • JSON.parse validates .releaserc.json.
  • bash -n validates the update script syntax.
  • Verified the postgres template's @udibo/juniper version now matches all other templates (^0.7.1).

🤖 Generated with Claude Code

The PostgreSQL template (added in #86) was never registered in the
release version-bump automation, so every release bumped the other
templates' @udibo/juniper version while leaving postgres frozen at
^0.5.0.

- Add templates/postgres/deno.json to scripts/update-juniper-version.sh
  so the prepare step rewrites its @udibo/juniper version on release.
- Add it to the @semantic-release/git assets in .releaserc.json so the
  rewrite is actually committed with the release.
- Catch the template up to the current deps (@udibo/juniper ^0.7.1,
  pg ^8.21.0, zod ^4.4.3) to match the other templates, and regenerate
  the lockfile.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@KyleJune KyleJune merged commit 896f081 into main Jun 1, 2026
10 checks passed
@KyleJune KyleJune deleted the ci/postgres-template-version-bumps branch June 1, 2026 21:32
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant