next-issue 6.6.23 → 6.6.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +13 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -670,13 +670,18 @@ major. Any other type releases nothing.
670
670
  The workflow then gives `next-issue` and `@ravshansbox/pi-next-issue` the same
671
671
  new version and publishes both packages to npm with a
672
672
  [trusted publish](https://docs.npmjs.com/trusted-publishers), so no token is
673
- stored. Only after the publish does it push the tag and make the GitHub release,
674
- so a failed publish leaves no half-release behind. npm makes a new version
675
- live a few minutes after the publish, and not always in the order it got them,
676
- so before it publishes, the job waits until npm serves both packages at the
677
- version of the last tag, for up to 10 minutes. Thus a new version never goes
678
- live before the one that came before it. A manual run of the workflow checks
679
- out the last tag and publishes that commit under the tag version, and
680
- changes nothing else. This repairs a release that reached GitHub but not npm.
673
+ stored. It pushes the tag before the publish and makes the GitHub release after
674
+ it, so the next release always counts from the new tag and never tries to
675
+ publish a version that npm already holds. npm makes a new version live a few
676
+ minutes after the publish, and not always in the order it got them, so before
677
+ it publishes, the job waits until npm serves both packages at the version of the
678
+ last tag, for up to 10 minutes. Thus a new version never goes live before the
679
+ one that came before it. Every run first repairs the last tag: from a checkout
680
+ of that tag it publishes each package that npm does not serve at the tag
681
+ version, and makes the GitHub release if it is missing. A package that npm
682
+ refuses as a version it already holds, but does not serve yet, counts as
683
+ published. So when a step fails after the tag push, the next run finishes that
684
+ release before it makes a new one. To repair a release without a new commit,
685
+ run the workflow by hand; a manual run does nothing else.
681
686
  The release job stays on a GitHub runner, because npm takes provenance only
682
687
  from a GitHub runner.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-issue",
3
- "version": "6.6.23",
3
+ "version": "6.6.24",
4
4
  "description": "Autonomous issue harness driven by the pi SDK",
5
5
  "keywords": [
6
6
  "github",