Skip to content

RELEASE.md: document PGXN_REMOTE for tag/dist targets - #18

Merged
jnasbyupgrade merged 2 commits into
update-pgxntool-2.2.0from
fix-pgxn-remote
Jul 30, 2026
Merged

RELEASE.md: document PGXN_REMOTE for tag/dist targets#18
jnasbyupgrade merged 2 commits into
update-pgxntool-2.2.0from
fix-pgxn-remote

Conversation

@jnasbyupgrade

@jnasbyupgrade jnasbyupgrade commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

origin in this checkout is the jnasbyupgrade fork, not the canonical Postgres-Extensions/pg_count_nulls repo, so make tag/make dist have always been one git remote -v slip away from tagging the wrong repo. pgxntool 2.2.0 (Postgres-Extensions/pgxntool#53) made the tagging targets' remote configurable via PGXN_REMOTE instead of hardcoding origin, so this documents passing PGXN_REMOTE=upstream at release time in RELEASE.md, matching the pattern in Postgres-Extensions/cat_tools#52 rather than hardcoding the remote name into the Makefile (which would bake in an assumption specific to this maintainer's clone).

Stacked on #17 (the pgxntool 2.2.0 bump) since PGXN_REMOTE doesn't exist before that version — base.mk previously hardcoded origin with no override.

origin in this checkout is the jnasbyupgrade fork, not the canonical Postgres-Extensions/pg_count_nulls repo, so make tag/make dist have always been one `git remote -v` slip away from tagging the wrong repo. pgxntool 2.2.0 (Postgres-Extensions/pgxntool#53) made the tagging targets' remote configurable via PGXN_REMOTE instead of hardcoding origin, so this sets PGXN_REMOTE = upstream here and drops the RELEASE.md step that relied on the release-runner remembering to check origin by hand.
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 0ee3c865-f5e5-4fe5-857b-e47bfd730404

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

…ttern

Hardcoding PGXN_REMOTE = upstream in the Makefile bakes in an assumption specific to this maintainer's clone (that origin is the jnasbyupgrade fork), which doesn't generalize to anyone else's checkout. Following Postgres-Extensions/cat_tools#52: leave the Makefile untouched (PGXN_REMOTE still defaults to origin via pgxntool's base.mk) and instead document in RELEASE.md that whoever runs the release should pass PGXN_REMOTE=upstream on the command line when their origin is a personal fork.
@jnasbyupgrade
jnasbyupgrade merged commit 80bf333 into update-pgxntool-2.2.0 Jul 30, 2026
10 checks passed
@jnasbyupgrade jnasbyupgrade changed the title Point release tagging at the upstream remote explicitly, not origin RELEASE.md: document PGXN_REMOTE for tag/dist targets Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant