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.
- package/README.md +13 -8
- 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.
|
|
674
|
-
so
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
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.
|