Skip to content

Commit

Permalink
chore: add versioning note to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Oct 1, 2023
1 parent 8aeb284 commit a873346
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ and see the `example` directory over there.

This package is versioned to match the WPGraphQL version from which the stubs are generated.

When changes are made to the actual stub generation that require a new release, the old release is _deleted_ and a new tag is created with the format `x.x.x+repack.y` where `x.x.x` is the WPGraphQL version and `y` is the the repack iteration. This is necessary because Composer's SemVer implementation ignores build meta when determining the latest version.

If you already have an old build of the version installed, you will need to run `composer update --no-cache` to get the latest repack.

## Generating stubs for a different WPGraphQL version

1. Clone this repository and `cd` into it.
Expand Down

0 comments on commit a873346

Please sign in to comment.