diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21a2cd1..d2204c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -131,7 +131,11 @@ jobs: # --no-increment: the version already lives in package.json, reviewed # and merged through a pull request. # --no-git: the tag is pushed by the maintainer; CI never writes to git. - args=(--ci --no-increment --no-git) + # -VV: logs the output of release-it's own commands, including npm's + # `+ @` once the registry accepts the package. `-V` + # only logs hook output. npm's notices go to stderr, which release-it + # shows only when a command fails. + args=(--ci --no-increment --no-git -VV) if [ "${{ github.event_name }}" != 'push' ]; then args+=(--dry-run) echo 'Rehearsal run — nothing will be tagged or published.' diff --git a/RELEASING.md b/RELEASING.md index 4f0df78..80e2ef8 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -50,6 +50,11 @@ version is not already on npm and that `CHANGELOG.md` has a section for it; publishes to npm with provenance; and creates the GitHub Release with that section as its body. +The Publish step logs `+ @gmisoftware/react-native-pay@` when npm +accepts the package. The version can take a few minutes more to show up on the +registry: 0.1.0 appeared about 5 minutes after the workflow finished. Don't +re-run the workflow or re-push the tag while you wait. + The iOS podspec reads its version from `package.json`, so there is no second version to keep in sync.