You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e435453
Browse filesBrowse the repository at this point in the historyBrowse files
Custom tag for the release. If not specified, the release is tagged with `beta` if `mode: beta` and `latest` if `mode: prod`.
28
+
29
+
## Pushing the version
30
+
31
+
The version modes push the release branch and then only the tags on the version commit. They don't use `git push --tags`, which would also push any local tags missing from the remote, such as old prerelease tags or tags fetched from other repositories. GitHub doesn't create push events when more than three tags are pushed at once, so a release workflow triggered by tags would silently not run.
32
+
33
+
## Re-running a partial publish
34
+
35
+
`from-git` is safe to run again for the same tag:
36
+
37
+
- If the GitHub release for the tag already exists, it's left as is.
38
+
- In a monorepo, `lerna publish from-package` only publishes versions that aren't on npm yet. A failed attempt is retried automatically, up to 3 attempts, 120 seconds apart.
39
+
- A single package is skipped if its version is already on npm.
40
+
41
+
In the release workflow, use **Re-run failed jobs** to finish a publish that failed partway.
42
+
43
+
Known cause: `npm publish --provenance` can fail with `TLOG_CREATE_ENTRY_ERROR ... (409) an equivalent entry already exists in the transparency log`, which leaves that package unpublished ([npm/cli#10078](https://github.com/npm/cli/issues/10078)). A new attempt succeeds.
44
+
45
+
Newly published versions can take a few minutes to appear on the registry. If a retry fails only with `You cannot publish over the previously published versions`, those packages are published. Check with `npm view <package>@<version>`.
0 commit comments