@wtf/release-docs 8.2.1 → 8.2.2
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 +56 -44
- package/api/@wtf/release-cargo/auth/functions/mask.md +1 -1
- package/api/@wtf/release-cargo/auth/functions/tokenVariableOf.md +1 -1
- package/api/@wtf/release-cargo/auth/functions/trustedPublishing.md +1 -1
- package/api/@wtf/release-cargo/auth/interfaces/HttpResponse.md +5 -5
- package/api/@wtf/release-cargo/auth/interfaces/TrustedPublishing.md +5 -5
- package/api/@wtf/release-cargo/auth/interfaces/TrustedPublishingOptions.md +6 -6
- package/api/@wtf/release-cargo/auth/type-aliases/HttpFetch.md +1 -1
- package/api/@wtf/release-cargo/auth/variables/CRATES_IO_API.md +1 -1
- package/api/@wtf/release-cargo/auth/variables/ID_TOKEN_VARIABLE.md +1 -1
- package/api/@wtf/release-cargo/auth/variables/USER_AGENT.md +1 -1
- package/api/@wtf/release-cargo/crates/functions/publishOrder.md +1 -1
- package/api/@wtf/release-cargo/crates/functions/publishable.md +1 -1
- package/api/@wtf/release-cargo/crates/functions/readWorkspace.md +1 -1
- package/api/@wtf/release-cargo/crates/functions/selectCrates.md +1 -1
- package/api/@wtf/release-cargo/crates/interfaces/Selection.md +5 -5
- package/api/@wtf/release-cargo/ecosystem/functions/packagesAt.md +1 -1
- package/api/@wtf/release-cargo/ecosystem/functions/packagesOfTree.md +1 -1
- package/api/@wtf/release-cargo/ecosystem/functions/packagesOfWorkspace.md +1 -1
- package/api/@wtf/release-cargo/ecosystem/functions/resolveRequirement.md +1 -1
- package/api/@wtf/release-cargo/ecosystem/functions/satisfiesRequirement.md +1 -1
- package/api/@wtf/release-cargo/ecosystem/functions/semverRange.md +1 -1
- package/api/@wtf/release-cargo/ecosystem/interfaces/CargoPackage.md +7 -7
- package/api/@wtf/release-cargo/ecosystem/variables/cargoEcosystem.md +1 -1
- package/api/@wtf/release-cargo/errors/classes/CargoError.md +5 -5
- package/api/@wtf/release-cargo/errors/type-aliases/CargoErrorCode.md +1 -1
- package/api/@wtf/release-cargo/errors/variables/CARGO_ERRORS.md +1 -1
- package/api/@wtf/release-cargo/interfaces/Crate.md +6 -6
- package/api/@wtf/release-cargo/interfaces/CrateDependency.md +6 -6
- package/api/@wtf/release-cargo/interfaces/Workspace.md +3 -3
- package/api/@wtf/release-cargo/publish/functions/publishCrates.md +1 -1
- package/api/@wtf/release-cargo/publish/interfaces/PublishCratesOptions.md +11 -11
- package/api/@wtf/release-cargo/publish/interfaces/PublishedCrate.md +5 -5
- package/api/@wtf/release-cargo/publish/type-aliases/CrateStatus.md +1 -1
- package/api/@wtf/release-cargo/publish/variables/RECHECK_WAITS.md +1 -1
- package/api/@wtf/release-cargo/registry/functions/crateUrl.md +1 -1
- package/api/@wtf/release-cargo/registry/functions/indexHasVersion.md +1 -1
- package/api/@wtf/release-cargo/registry/functions/indexPath.md +1 -1
- package/api/@wtf/release-cargo/registry/variables/CRATES_IO_INDEX.md +1 -1
- package/api/@wtf/release-cargo/stamp/functions/checkVersions.md +1 -1
- package/api/@wtf/release-cargo/stamp/functions/inheritsVersion.md +1 -1
- package/api/@wtf/release-cargo/stamp/functions/stampManifest.md +1 -1
- package/api/@wtf/release-cargo/stamp/functions/stampWorkspace.md +1 -1
- package/api/@wtf/release-cargo/stamp/interfaces/StampOptions.md +4 -4
- package/api/@wtf/release-cargo/stamp/interfaces/Stamped.md +3 -3
- package/api/@wtf/release-cargo/stamp/interfaces/StampedWorkspace.md +3 -3
- package/api/@wtf/release-cargo/type-aliases/DependencyKind.md +1 -1
- package/api/@wtf/release-go/ecosystem/functions/packagesOfModules.md +1 -1
- package/api/@wtf/release-go/ecosystem/functions/packagesOfRepo.md +1 -1
- package/api/@wtf/release-go/ecosystem/functions/resolveVersion.md +1 -1
- package/api/@wtf/release-go/ecosystem/functions/satisfiesVersion.md +1 -1
- package/api/@wtf/release-go/ecosystem/interfaces/GoPackage.md +7 -7
- package/api/@wtf/release-go/ecosystem/variables/goEcosystem.md +1 -1
- package/api/@wtf/release-go/errors/classes/GoError.md +5 -5
- package/api/@wtf/release-go/errors/type-aliases/GoErrorCode.md +1 -1
- package/api/@wtf/release-go/errors/variables/GO_ERRORS.md +1 -1
- package/api/@wtf/release-go/gomod/functions/entriesOf.md +1 -1
- package/api/@wtf/release-go/gomod/functions/linesOf.md +1 -1
- package/api/@wtf/release-go/gomod/functions/readGoMod.md +1 -1
- package/api/@wtf/release-go/gomod/functions/tokensOf.md +1 -1
- package/api/@wtf/release-go/gomod/interfaces/Entry.md +4 -4
- package/api/@wtf/release-go/gomod/interfaces/GoMod.md +4 -4
- package/api/@wtf/release-go/gomod/interfaces/GoReplace.md +6 -6
- package/api/@wtf/release-go/gomod/interfaces/GoRequire.md +4 -4
- package/api/@wtf/release-go/gomod/interfaces/Token.md +5 -5
- package/api/@wtf/release-go/interfaces/GoModule.md +6 -6
- package/api/@wtf/release-go/modules/functions/isFetchable.md +1 -1
- package/api/@wtf/release-go/modules/functions/isGoMod.md +1 -1
- package/api/@wtf/release-go/modules/functions/majorErrors.md +1 -1
- package/api/@wtf/release-go/modules/functions/majorOfPath.md +1 -1
- package/api/@wtf/release-go/modules/functions/modulesAt.md +1 -1
- package/api/@wtf/release-go/modules/functions/modulesOf.md +1 -1
- package/api/@wtf/release-go/modules/functions/readModules.md +1 -1
- package/api/@wtf/release-go/modules/functions/selectModules.md +1 -1
- package/api/@wtf/release-go/modules/interfaces/Selection.md +4 -4
- package/api/@wtf/release-go/stamp/functions/checkVersions.md +1 -1
- package/api/@wtf/release-go/stamp/functions/stampGoMod.md +1 -1
- package/api/@wtf/release-go/stamp/functions/stampModules.md +1 -1
- package/api/@wtf/release-go/stamp/interfaces/Stamped.md +3 -3
- package/api/@wtf/release-go/stamp/interfaces/StampedModules.md +3 -3
- package/api/@wtf/release-go/tags/functions/askProxy.md +1 -1
- package/api/@wtf/release-go/tags/functions/maskCredentials.md +1 -1
- package/api/@wtf/release-go/tags/functions/releaseCommit.md +1 -1
- package/api/@wtf/release-go/tags/functions/remoteTags.md +1 -1
- package/api/@wtf/release-go/tags/functions/tagModules.md +1 -1
- package/api/@wtf/release-go/tags/functions/tagOfModule.md +1 -1
- package/api/@wtf/release-go/tags/functions/tagPrefix.md +1 -1
- package/api/@wtf/release-go/tags/interfaces/TagModulesOptions.md +8 -8
- package/api/@wtf/release-go/tags/interfaces/TaggedModule.md +5 -5
- package/api/@wtf/release-go/tags/type-aliases/ModuleStatus.md +1 -1
- package/api/@wtf/release-go/tags/variables/RELEASE_AUTHOR.md +1 -1
- package/api/@wtf/release-maven/artifacts/functions/groupIdOf.md +1 -1
- package/api/@wtf/release-maven/artifacts/functions/installsOf.md +1 -1
- package/api/@wtf/release-maven/artifacts/functions/isPomFile.md +1 -1
- package/api/@wtf/release-maven/artifacts/functions/isRange.md +1 -1
- package/api/@wtf/release-maven/artifacts/functions/modulesOf.md +1 -1
- package/api/@wtf/release-maven/artifacts/functions/nameOf.md +1 -1
- package/api/@wtf/release-maven/artifacts/functions/publishOrder.md +1 -1
- package/api/@wtf/release-maven/artifacts/functions/readModules.md +1 -1
- package/api/@wtf/release-maven/artifacts/functions/readPoms.md +1 -1
- package/api/@wtf/release-maven/artifacts/functions/selectArtifacts.md +1 -1
- package/api/@wtf/release-maven/artifacts/interfaces/Selection.md +4 -4
- package/api/@wtf/release-maven/ecosystem/functions/compareVersions.md +1 -1
- package/api/@wtf/release-maven/ecosystem/functions/parseRange.md +1 -1
- package/api/@wtf/release-maven/ecosystem/functions/resolveVersion.md +1 -1
- package/api/@wtf/release-maven/ecosystem/functions/satisfiesVersion.md +1 -1
- package/api/@wtf/release-maven/ecosystem/interfaces/Bound.md +3 -3
- package/api/@wtf/release-maven/ecosystem/interfaces/Restriction.md +3 -3
- package/api/@wtf/release-maven/ecosystem/variables/mavenEcosystem.md +1 -1
- package/api/@wtf/release-maven/errors/classes/MavenError.md +5 -5
- package/api/@wtf/release-maven/errors/type-aliases/MavenErrorCode.md +1 -1
- package/api/@wtf/release-maven/errors/variables/MAVEN_ERRORS.md +1 -1
- package/api/@wtf/release-maven/interfaces/MavenModule.md +14 -14
- package/api/@wtf/release-maven/pom/functions/childOf.md +1 -1
- package/api/@wtf/release-maven/pom/functions/childrenOf.md +1 -1
- package/api/@wtf/release-maven/pom/functions/dependencyOf.md +1 -1
- package/api/@wtf/release-maven/pom/functions/escapeXml.md +1 -1
- package/api/@wtf/release-maven/pom/functions/parseXml.md +1 -1
- package/api/@wtf/release-maven/pom/functions/readPom.md +1 -1
- package/api/@wtf/release-maven/pom/functions/textAt.md +1 -1
- package/api/@wtf/release-maven/pom/interfaces/Pom.md +15 -15
- package/api/@wtf/release-maven/pom/interfaces/PomDependency.md +5 -5
- package/api/@wtf/release-maven/pom/interfaces/PomParent.md +4 -4
- package/api/@wtf/release-maven/pom/interfaces/PomPlugin.md +5 -5
- package/api/@wtf/release-maven/pom/interfaces/PomRepository.md +3 -3
- package/api/@wtf/release-maven/pom/interfaces/Span.md +3 -3
- package/api/@wtf/release-maven/pom/interfaces/XmlElement.md +7 -7
- package/api/@wtf/release-maven/pom/variables/PLUGIN_GROUP.md +1 -1
- package/api/@wtf/release-maven/publish/functions/deployModules.md +1 -1
- package/api/@wtf/release-maven/publish/interfaces/DeployModulesOptions.md +11 -11
- package/api/@wtf/release-maven/publish/interfaces/DeployedModule.md +4 -4
- package/api/@wtf/release-maven/publish/type-aliases/ModuleStatus.md +1 -1
- package/api/@wtf/release-maven/repository/functions/deployTargets.md +1 -1
- package/api/@wtf/release-maven/repository/functions/expandValues.md +1 -1
- package/api/@wtf/release-maven/repository/functions/hasPom.md +1 -1
- package/api/@wtf/release-maven/repository/functions/pomPath.md +1 -1
- package/api/@wtf/release-maven/repository/functions/pomUrl.md +1 -1
- package/api/@wtf/release-maven/repository/interfaces/Repository.md +3 -3
- package/api/@wtf/release-maven/repository/interfaces/ValuesOf.md +3 -3
- package/api/@wtf/release-maven/repository/variables/MAVEN_CENTRAL.md +1 -1
- package/api/@wtf/release-maven/stamp/functions/checkVersions.md +1 -1
- package/api/@wtf/release-maven/stamp/functions/stampModules.md +1 -1
- package/api/@wtf/release-maven/stamp/functions/stampPom.md +1 -1
- package/api/@wtf/release-maven/stamp/interfaces/PomStampOptions.md +5 -5
- package/api/@wtf/release-maven/stamp/interfaces/Stamped.md +3 -3
- package/api/@wtf/release-maven/stamp/interfaces/StampedModules.md +3 -3
- package/api/@wtf/release-npm/check/functions/checkPackages.md +1 -1
- package/api/@wtf/release-npm/check/functions/formatIssue.md +1 -1
- package/api/@wtf/release-npm/check/interfaces/CheckOptions.md +6 -6
- package/api/@wtf/release-npm/check/interfaces/Issue.md +5 -5
- package/api/@wtf/release-npm/check/type-aliases/CheckedPackage.md +1 -1
- package/api/@wtf/release-npm/check/type-aliases/IssueCode.md +1 -1
- package/api/@wtf/release-npm/ecosystem/variables/npmEcosystem.md +1 -1
- package/api/@wtf/release-npm/errors/type-aliases/NpmErrorCode.md +1 -1
- package/api/@wtf/release-npm/errors/variables/NPM_ERRORS.md +1 -1
- package/api/@wtf/release-npm/interfaces/Lookup.md +3 -3
- package/api/@wtf/release-npm/interfaces/PublishOptions.md +6 -6
- package/api/@wtf/release-npm/interfaces/PublishPackage.md +5 -5
- package/api/@wtf/release-npm/interfaces/PublishTrainOptions.md +13 -13
- package/api/@wtf/release-npm/interfaces/Publisher.md +7 -7
- package/api/@wtf/release-npm/interfaces/PublisherContext.md +7 -7
- package/api/@wtf/release-npm/manifests/functions/concreteRange.md +1 -1
- package/api/@wtf/release-npm/manifests/functions/manifestsAt.md +1 -1
- package/api/@wtf/release-npm/manifests/functions/packageOf.md +1 -1
- package/api/@wtf/release-npm/manifests/functions/packagesOfManifests.md +1 -1
- package/api/@wtf/release-npm/manifests/functions/readManifests.md +1 -1
- package/api/@wtf/release-npm/manifests/functions/resolveSpecifier.md +1 -1
- package/api/@wtf/release-npm/manifests/functions/runtimeDependenciesOf.md +1 -1
- package/api/@wtf/release-npm/manifests/functions/satisfiesRange.md +1 -1
- package/api/@wtf/release-npm/manifests/interfaces/Manifest.md +5 -5
- package/api/@wtf/release-npm/manifests/interfaces/NpmPackage.md +7 -7
- package/api/@wtf/release-npm/manifests/type-aliases/DependencyField.md +1 -1
- package/api/@wtf/release-npm/manifests/variables/DEPENDENCY_FIELDS.md +1 -1
- package/api/@wtf/release-npm/manifests/variables/FIELD_KINDS.md +1 -1
- package/api/@wtf/release-npm/manifests/variables/RUNTIME_FIELDS.md +1 -1
- package/api/@wtf/release-npm/prepare/functions/isTypeScriptSource.md +1 -1
- package/api/@wtf/release-npm/prepare/functions/prepareManifest.md +1 -1
- package/api/@wtf/release-npm/prepare/functions/stripSourceConditions.md +1 -1
- package/api/@wtf/release-npm/prepare/interfaces/PrepareOptions.md +5 -5
- package/api/@wtf/release-npm/prepare/interfaces/PreparedManifest.md +6 -6
- package/api/@wtf/release-npm/prepare/variables/SOURCE_CONDITIONS.md +1 -1
- package/api/@wtf/release-npm/publishers/functions/builtInPublisher.md +1 -1
- package/api/@wtf/release-npm/publishers/functions/isPublisher.md +1 -1
- package/api/@wtf/release-npm/publishers/variables/NPM_REGISTRY.md +1 -1
- package/api/@wtf/release-npm/publishers/variables/PUBLISHERS.md +1 -1
- package/api/@wtf/release-npm/publishers/variables/npmPublisher.md +1 -1
- package/api/@wtf/release-npm/publishers/variables/pnpmPublisher.md +1 -1
- package/api/@wtf/release-npm/release/functions/checkTrain.md +1 -1
- package/api/@wtf/release-npm/release/functions/distTagOf.md +1 -1
- package/api/@wtf/release-npm/release/functions/packTrain.md +1 -1
- package/api/@wtf/release-npm/release/functions/publishPacked.md +1 -1
- package/api/@wtf/release-npm/release/functions/publishTrain.md +1 -1
- package/api/@wtf/release-npm/release/functions/publishedOf.md +1 -1
- package/api/@wtf/release-npm/release/functions/publishedOfResolved.md +1 -1
- package/api/@wtf/release-npm/release/functions/releaseTrain.md +1 -1
- package/api/@wtf/release-npm/release/functions/resolveManifests.md +1 -1
- package/api/@wtf/release-npm/release/functions/tagTrain.md +1 -1
- package/api/@wtf/release-npm/release/interfaces/CheckRelease.md +16 -16
- package/api/@wtf/release-npm/release/interfaces/PackOptions.md +8 -8
- package/api/@wtf/release-npm/release/interfaces/PackedTrain.md +12 -12
- package/api/@wtf/release-npm/release/interfaces/PublishRun.md +11 -11
- package/api/@wtf/release-npm/release/interfaces/PublishedOf.md +4 -4
- package/api/@wtf/release-npm/release/interfaces/PublishedPackage.md +7 -7
- package/api/@wtf/release-npm/release/interfaces/PublishedTrain.md +5 -5
- package/api/@wtf/release-npm/release/interfaces/ResolveRelease.md +17 -17
- package/api/@wtf/release-npm/release/interfaces/ResolvedPackage.md +4 -4
- package/api/@wtf/release-npm/release/interfaces/ResolvedTrain.md +6 -6
- package/api/@wtf/release-npm/release/interfaces/TagRelease.md +14 -14
- package/api/@wtf/release-npm/release/type-aliases/LookedUpTrain.md +1 -1
- package/api/@wtf/release-npm/release/type-aliases/ReleaseRun.md +1 -1
- package/api/@wtf/release-npm/release/variables/ID_TOKENS.md +1 -1
- package/api/@wtf/release-npm/release/variables/RUNNER_ENVIRONMENTS.md +1 -1
- package/api/@wtf/release-npm/workspace/functions/pnpmWorkspaceGlobs.md +1 -1
- package/api/@wtf/release-npm/workspace/functions/publishableOf.md +1 -1
- package/api/@wtf/release-npm/workspace/functions/readWorkspace.md +1 -1
- package/api/@wtf/release-npm/workspace/functions/workspaceFolders.md +1 -1
- package/api/@wtf/release-npm/workspace/functions/workspaceGlobs.md +1 -1
- package/api/@wtf/release-npm/workspace/interfaces/WorkspaceGlobs.md +3 -3
- package/api/@wtf/release-npm/workspace/interfaces/WorkspaceOptions.md +2 -2
- package/api/@wtf/release-replace/errors/classes/ReplaceError.md +5 -5
- package/api/@wtf/release-replace/errors/type-aliases/ReplaceErrorCode.md +1 -1
- package/api/@wtf/release-replace/errors/variables/REPLACE_ERRORS.md +1 -1
- package/api/@wtf/release-replace/files/functions/filesMatcher.md +1 -1
- package/api/@wtf/release-replace/interfaces/ReplaceMatch.md +5 -5
- package/api/@wtf/release-replace/interfaces/ReplacementOf.md +5 -5
- package/api/@wtf/release-replace/replace/functions/regExpOf.md +1 -1
- package/api/@wtf/release-replace/replace/functions/replaceFiles.md +1 -1
- package/api/@wtf/release-replace/replace/functions/replaceText.md +1 -1
- package/api/@wtf/release-replace/replace/interfaces/ReplaceOptions.md +10 -10
- package/api/@wtf/release-replace/replace/interfaces/TextOptions.md +5 -5
- package/api/@wtf/release-replace/replace/type-aliases/To.md +1 -1
- package/api/@wtf/release-replace/templates/functions/mergeTemplates.md +1 -1
- package/api/@wtf/release-replace/templates/functions/resolveReplacement.md +1 -1
- package/api/@wtf/release-replace/templates/functions/resolveReplacements.md +1 -1
- package/api/@wtf/release-replace/type-aliases/Escape.md +1 -1
- package/api/@wtf/release-replace/type-aliases/ReplaceFunction.md +1 -1
- package/api/@wtf/release-replace/type-aliases/Replacement.md +1 -1
- package/api/@wtf/release-replace/type-aliases/ReplacementSpec.md +1 -1
- package/api/@wtf/release-replace/type-aliases/TemplateUse.md +1 -1
- package/api/@wtf/release-replace/type-aliases/Templates.md +1 -1
- package/api/@wtf/release-replace/values/functions/escapeValue.md +1 -1
- package/api/@wtf/release-replace/values/functions/textOf.md +1 -1
- package/api/@wtf/release-replace/values/functions/valueAt.md +1 -1
- package/api/@wtf/release-replace/values/variables/ESCAPES.md +1 -1
- package/api/@wtf/release-replace/values/variables/VALUE.md +1 -1
- package/api/@wtf/release-system/errors/classes/ReleaseError.md +5 -5
- package/api/@wtf/release-system/errors/functions/throwAll.md +1 -1
- package/api/@wtf/release-system/errors/type-aliases/ErrorClass.md +1 -1
- package/api/@wtf/release-system/errors/type-aliases/SystemErrorCode.md +1 -1
- package/api/@wtf/release-system/errors/variables/SYSTEM_ERRORS.md +1 -1
- package/api/@wtf/release-system/git/functions/commitsSince.md +1 -1
- package/api/@wtf/release-system/git/functions/filesOfCommits.md +1 -1
- package/api/@wtf/release-system/git/functions/git.md +1 -1
- package/api/@wtf/release-system/git/functions/gitOf.md +1 -1
- package/api/@wtf/release-system/git/functions/trackedFiles.md +1 -1
- package/api/@wtf/release-system/git/interfaces/GitContext.md +4 -4
- package/api/@wtf/release-system/git/interfaces/LogCommit.md +5 -5
- package/api/@wtf/release-system/node/functions/nodeSystem.md +1 -1
- package/api/@wtf/release-system/node/functions/realPathOf.md +1 -1
- package/api/@wtf/release-system/node/functions/systemOf.md +1 -1
- package/api/@wtf/release-system/paths/functions/normalizePath.md +1 -1
- package/api/@wtf/release-system/paths/functions/pathMatcher.md +1 -1
- package/api/@wtf/release-system/paths/type-aliases/PathMatcher.md +1 -1
- package/api/@wtf/release-system/posix/functions/basenameOf.md +1 -1
- package/api/@wtf/release-system/posix/functions/dirnameOf.md +1 -1
- package/api/@wtf/release-system/posix/functions/joinPath.md +1 -1
- package/api/@wtf/release-system/posix/functions/relativePath.md +1 -1
- package/api/@wtf/release-system/posix/functions/resolvePath.md +1 -1
- package/api/@wtf/release-system/system/interfaces/DirEntry.md +3 -3
- package/api/@wtf/release-system/system/interfaces/ExecOptions.md +4 -4
- package/api/@wtf/release-system/system/interfaces/ExecResult.md +4 -4
- package/api/@wtf/release-system/system/interfaces/System.md +7 -7
- package/api/@wtf/release-system/system/interfaces/SystemFs.md +8 -8
- package/api/@wtf/release-system/system/type-aliases/Exec.md +1 -1
- package/api/@wtf/release-system/system/type-aliases/SystemInput.md +1 -1
- package/api/@wtf/release-system/validator/functions/allOf.md +1 -1
- package/api/@wtf/release-system/validator/functions/anyObject.md +1 -1
- package/api/@wtf/release-system/validator/functions/anyOf.md +1 -1
- package/api/@wtf/release-system/validator/functions/arrayOf.md +1 -1
- package/api/@wtf/release-system/validator/functions/booleanOf.md +1 -1
- package/api/@wtf/release-system/validator/functions/errorOf.md +1 -1
- package/api/@wtf/release-system/validator/functions/errorsOf.md +1 -1
- package/api/@wtf/release-system/validator/functions/exclusive.md +1 -1
- package/api/@wtf/release-system/validator/functions/issuesOf.md +1 -1
- package/api/@wtf/release-system/validator/functions/objectOf.md +1 -1
- package/api/@wtf/release-system/validator/functions/oneOf.md +1 -1
- package/api/@wtf/release-system/validator/functions/orFunction.md +1 -1
- package/api/@wtf/release-system/validator/functions/pathText.md +1 -1
- package/api/@wtf/release-system/validator/functions/pluginEntriesOf.md +1 -1
- package/api/@wtf/release-system/validator/functions/recordOf.md +1 -1
- package/api/@wtf/release-system/validator/functions/refined.md +1 -1
- package/api/@wtf/release-system/validator/functions/stringOf.md +1 -1
- package/api/@wtf/release-system/validator/functions/tupleOf.md +1 -1
- package/api/@wtf/release-system/validator/interfaces/ArrayOptions.md +5 -5
- package/api/@wtf/release-system/validator/interfaces/IssueOptions.md +4 -4
- package/api/@wtf/release-system/validator/interfaces/ObjectOptions.md +5 -5
- package/api/@wtf/release-system/validator/interfaces/OptionIssue.md +4 -4
- package/api/@wtf/release-system/validator/interfaces/Property.md +4 -4
- package/api/@wtf/release-system/validator/interfaces/RecordOptions.md +6 -6
- package/api/@wtf/release-system/validator/interfaces/StringOptions.md +6 -6
- package/api/@wtf/release-system/validator/interfaces/Validator.md +4 -4
- package/api/@wtf/release-system/validator/type-aliases/JsonSchema.md +1 -1
- package/api/@wtf/release-system/validator/type-aliases/Path.md +1 -1
- package/api/@wtf/release-trains/cascade/functions/cascadeNotes.md +1 -1
- package/api/@wtf/release-trains/cascade/functions/cascadeText.md +1 -1
- package/api/@wtf/release-trains/cascade/functions/cascadeType.md +1 -1
- package/api/@wtf/release-trains/cascade/functions/cascadesOf.md +1 -1
- package/api/@wtf/release-trains/cascade/functions/higherType.md +1 -1
- package/api/@wtf/release-trains/cascade/interfaces/Cascade.md +11 -11
- package/api/@wtf/release-trains/cascade/interfaces/CascadeCheck.md +8 -8
- package/api/@wtf/release-trains/cascade/type-aliases/CascadeKind.md +1 -1
- package/api/@wtf/release-trains/cascade/type-aliases/ReleaseType.md +1 -1
- package/api/@wtf/release-trains/cascade/variables/RELEASE_TYPES.md +1 -1
- package/api/@wtf/release-trains/ecosystem/functions/isEcosystem.md +1 -1
- package/api/@wtf/release-trains/ecosystem/functions/loadEcosystems.md +1 -1
- package/api/@wtf/release-trains/ecosystem/functions/readPackages.md +1 -1
- package/api/@wtf/release-trains/ecosystem/interfaces/Dependency.md +4 -4
- package/api/@wtf/release-trains/ecosystem/interfaces/Ecosystem.md +5 -5
- package/api/@wtf/release-trains/ecosystem/interfaces/EcosystemContext.md +5 -5
- package/api/@wtf/release-trains/ecosystem/interfaces/EcosystemPackages.md +3 -3
- package/api/@wtf/release-trains/ecosystem/interfaces/Package.md +6 -6
- package/api/@wtf/release-trains/ecosystem/type-aliases/DependencyKind.md +1 -1
- package/api/@wtf/release-trains/ecosystem/type-aliases/ModuleLoader.md +1 -1
- package/api/@wtf/release-trains/ecosystem/variables/DEPENDENCY_KINDS.md +1 -1
- package/api/@wtf/release-trains/errors/classes/TrainsError.md +5 -5
- package/api/@wtf/release-trains/errors/type-aliases/TrainsErrorCode.md +1 -1
- package/api/@wtf/release-trains/errors/variables/TRAINS_ERRORS.md +1 -1
- package/api/@wtf/release-trains/generated/functions/filesIn.md +1 -1
- package/api/@wtf/release-trains/generated/functions/formatGenerated.md +1 -1
- package/api/@wtf/release-trains/generated/functions/listGenerated.md +1 -1
- package/api/@wtf/release-trains/generated/functions/parseGenerated.md +1 -1
- package/api/@wtf/release-trains/generated/functions/readGenerated.md +1 -1
- package/api/@wtf/release-trains/generated/functions/stageGenerated.md +1 -1
- package/api/@wtf/release-trains/generated/functions/stageGeneratedFolders.md +1 -1
- package/api/@wtf/release-trains/generated/functions/unlistedIn.md +1 -1
- package/api/@wtf/release-trains/generated/interfaces/GeneratedOptions.md +2 -2
- package/api/@wtf/release-trains/generated/interfaces/StageOptions.md +6 -6
- package/api/@wtf/release-trains/generated/variables/GENERATED.md +1 -1
- package/api/@wtf/release-trains/git/functions/tagOf.md +1 -1
- package/api/@wtf/release-trains/git/functions/tagsOf.md +1 -1
- package/api/@wtf/release-trains/git/functions/versionOfTag.md +1 -1
- package/api/@wtf/release-trains/git/interfaces/TrainTag.md +3 -3
- package/api/@wtf/release-trains/interfaces/Train.md +7 -7
- package/api/@wtf/release-trains/packages/functions/dependencyEdges.md +1 -1
- package/api/@wtf/release-trains/packages/functions/dependencyText.md +1 -1
- package/api/@wtf/release-trains/packages/functions/dependsOnErrors.md +1 -1
- package/api/@wtf/release-trains/packages/functions/normalizeDir.md +1 -1
- package/api/@wtf/release-trains/packages/functions/ownersOf.md +1 -1
- package/api/@wtf/release-trains/packages/functions/packagesOf.md +1 -1
- package/api/@wtf/release-trains/packages/functions/publishOrder.md +1 -1
- package/api/@wtf/release-trains/packages/functions/releasedVersions.md +1 -1
- package/api/@wtf/release-trains/packages/functions/trainDependencies.md +1 -1
- package/api/@wtf/release-trains/packages/functions/trainOrder.md +1 -1
- package/api/@wtf/release-trains/packages/functions/unsatisfiedErrors.md +1 -1
- package/api/@wtf/release-trains/packages/interfaces/DependencyEdge.md +6 -6
- package/api/@wtf/release-trains/packages/interfaces/OrderFault.md +4 -4
- package/api/@wtf/release-trains/packages/interfaces/OrderPins.md +3 -3
- package/api/@wtf/release-trains/packages/interfaces/PublishOrder.md +3 -3
- package/api/@wtf/release-trains/packages/interfaces/TrainDependency.md +3 -3
- package/api/@wtf/release-trains/packages/interfaces/VersionsRelease.md +7 -7
- package/api/@wtf/release-trains/paths/functions/filterCommits.md +1 -1
- package/api/@wtf/release-trains/paths/functions/gitFilesOf.md +1 -1
- package/api/@wtf/release-trains/paths/functions/overlapError.md +1 -1
- package/api/@wtf/release-trains/paths/functions/trainOfPath.md +1 -1
- package/api/@wtf/release-trains/paths/functions/trainsOfCommit.md +1 -1
- package/api/@wtf/release-trains/paths/functions/trainsOfPath.md +1 -1
- package/api/@wtf/release-trains/paths/type-aliases/FilesOf.md +1 -1
- package/api/@wtf/release-trains/schema/interfaces/ConfigPart.md +6 -6
- package/api/@wtf/release-trains/schema/interfaces/RootOptions.md +7 -7
- package/api/@wtf/release-trains/schema/type-aliases/DependencyRule.md +1 -1
- package/api/@wtf/release-trains/schema/variables/DEPENDENCY_RULES.md +1 -1
- package/api/@wtf/release-trains/schema/variables/TAG_FORMAT_PATTERN.md +1 -1
- package/api/@wtf/release-trains/schema/variables/TRAIN_NAME_PATTERN.md +1 -1
- package/api/@wtf/release-trains/schema/variables/configSchema.md +1 -1
- package/api/@wtf/release-trains/schema/variables/jsonSchema.md +1 -1
- package/api/@wtf/release-trains/schema/variables/rootOptionsSchema.md +1 -1
- package/api/@wtf/release-trains/schema/variables/trainSchema.md +1 -1
- package/api/@wtf/release-trains/schema/variables/trainsSchema.md +1 -1
- package/api/@wtf/release-trains/trains/functions/changelogOf.md +1 -1
- package/api/@wtf/release-trains/trains/functions/matchersOf.md +1 -1
- package/api/@wtf/release-trains/trains/functions/overlapErrors.md +1 -1
- package/api/@wtf/release-trains/trains/functions/selectTrain.md +1 -1
- package/api/@wtf/release-trains/trains/functions/tagFormatOf.md +1 -1
- package/api/@wtf/release-trains/trains/functions/trainHeadedNotes.md +1 -1
- package/api/@wtf/release-trains/trains/functions/trainOfRun.md +1 -1
- package/api/@wtf/release-trains/trains/functions/trainOfTag.md +1 -1
- package/api/@wtf/release-trains/trains/functions/trainsErrors.md +1 -1
- package/api/@wtf/release-trains/trains/functions/trainsOfOptions.md +1 -1
- package/api/@wtf/release-trains/trains/variables/TRAIN_VARIABLE.md +1 -1
- package/api/@wtf/release-trains/trains/variables/VERSION.md +1 -1
- package/api/@wtf/release-trains/type-aliases/BranchSpec.md +1 -1
- package/api/@wtf/release-trains/type-aliases/Trains.md +1 -1
- package/api/@wtf/release-trains/verify/functions/unreleasedDependencies.md +1 -1
- package/api/@wtf/release-trains/verify/functions/verifyTrain.md +1 -1
- package/api/@wtf/release-trains/verify/interfaces/UnreleasedDependencies.md +10 -10
- package/api/@wtf/release-trains/verify/interfaces/VerifiedTrain.md +5 -5
- package/api/@wtf/release-trains/verify/interfaces/VerifyRelease.md +8 -8
- package/api/@wtf/release-validate/errors/classes/ValidateError.md +5 -5
- package/api/@wtf/release-validate/errors/type-aliases/ValidateErrorCode.md +1 -1
- package/api/@wtf/release-validate/errors/variables/VALIDATE_ERRORS.md +1 -1
- package/api/@wtf/release-validate/interfaces/ConfigIssue.md +4 -4
- package/api/@wtf/release-validate/json-schema/functions/fromJsonSchema.md +1 -1
- package/api/@wtf/release-validate/json-schema/functions/pathOfPointer.md +1 -1
- package/api/@wtf/release-validate/json-schema/interfaces/JsonSchemaError.md +3 -3
- package/api/@wtf/release-validate/json-schema/interfaces/JsonSchemaValidator.md +3 -3
- package/api/@wtf/release-validate/validate/functions/configErrors.md +1 -1
- package/api/@wtf/release-validate/validate/functions/isStandardSchema.md +1 -1
- package/api/@wtf/release-validate/validate/functions/pathText.md +1 -1
- package/api/@wtf/release-validate/validate/functions/validateConfig.md +1 -1
- package/api/@wtf/semantic-release-cargo/functions/indexLookup.md +1 -1
- package/api/@wtf/semantic-release-cargo/functions/prepare.md +1 -1
- package/api/@wtf/semantic-release-cargo/functions/publish.md +1 -1
- package/api/@wtf/semantic-release-cargo/functions/verifyConditions.md +1 -1
- package/api/@wtf/semantic-release-cargo/interfaces/CargoPluginOptions.md +12 -12
- package/api/@wtf/semantic-release-cargo/interfaces/CargoRelease.md +3 -3
- package/api/@wtf/semantic-release-cargo/schema/type-aliases/CargoOptions.md +1 -1
- package/api/@wtf/semantic-release-cargo/schema/variables/cargoOptionsSchema.md +1 -1
- package/api/@wtf/semantic-release-cargo/schema/variables/cargoSchema.md +1 -1
- package/api/@wtf/semantic-release-cargo/schema/variables/configSchema.md +1 -1
- package/api/@wtf/semantic-release-cargo/schema/variables/jsonSchema.md +1 -1
- package/api/@wtf/semantic-release-cargo/variables/default.md +1 -1
- package/api/@wtf/semantic-release-go/functions/prepare.md +1 -1
- package/api/@wtf/semantic-release-go/functions/publish.md +1 -1
- package/api/@wtf/semantic-release-go/functions/verifyConditions.md +1 -1
- package/api/@wtf/semantic-release-go/functions/verifyRelease.md +1 -1
- package/api/@wtf/semantic-release-go/interfaces/GoPluginOptions.md +8 -8
- package/api/@wtf/semantic-release-go/interfaces/GoRelease.md +3 -3
- package/api/@wtf/semantic-release-go/schema/type-aliases/GoOptions.md +1 -1
- package/api/@wtf/semantic-release-go/schema/variables/configSchema.md +1 -1
- package/api/@wtf/semantic-release-go/schema/variables/goOptionsSchema.md +1 -1
- package/api/@wtf/semantic-release-go/schema/variables/goSchema.md +1 -1
- package/api/@wtf/semantic-release-go/schema/variables/jsonSchema.md +1 -1
- package/api/@wtf/semantic-release-go/variables/default.md +1 -1
- package/api/@wtf/semantic-release-maven/functions/pomLookup.md +1 -1
- package/api/@wtf/semantic-release-maven/functions/prepare.md +1 -1
- package/api/@wtf/semantic-release-maven/functions/publish.md +1 -1
- package/api/@wtf/semantic-release-maven/functions/verifyConditions.md +1 -1
- package/api/@wtf/semantic-release-maven/interfaces/LookupAuth.md +3 -3
- package/api/@wtf/semantic-release-maven/interfaces/MavenPluginOptions.md +12 -12
- package/api/@wtf/semantic-release-maven/interfaces/MavenRelease.md +2 -2
- package/api/@wtf/semantic-release-maven/schema/type-aliases/MavenOptions.md +1 -1
- package/api/@wtf/semantic-release-maven/schema/variables/configSchema.md +1 -1
- package/api/@wtf/semantic-release-maven/schema/variables/jsonSchema.md +1 -1
- package/api/@wtf/semantic-release-maven/schema/variables/mavenOptionsSchema.md +1 -1
- package/api/@wtf/semantic-release-maven/schema/variables/mavenSchema.md +1 -1
- package/api/@wtf/semantic-release-maven/variables/default.md +1 -1
- package/api/@wtf/semantic-release-npm/functions/addChannel.md +1 -1
- package/api/@wtf/semantic-release-npm/functions/fail.md +1 -1
- package/api/@wtf/semantic-release-npm/functions/loadPublisher.md +1 -1
- package/api/@wtf/semantic-release-npm/functions/prepare.md +1 -1
- package/api/@wtf/semantic-release-npm/functions/publish.md +1 -1
- package/api/@wtf/semantic-release-npm/functions/verifyConditions.md +1 -1
- package/api/@wtf/semantic-release-npm/interfaces/PublishPluginOptions.md +18 -18
- package/api/@wtf/semantic-release-npm/interfaces/PublishedRelease.md +4 -4
- package/api/@wtf/semantic-release-npm/interfaces/SmokeOption.md +2 -2
- package/api/@wtf/semantic-release-npm/schema/type-aliases/PublishOptions.md +1 -1
- package/api/@wtf/semantic-release-npm/schema/variables/configSchema.md +1 -1
- package/api/@wtf/semantic-release-npm/schema/variables/jsonSchema.md +1 -1
- package/api/@wtf/semantic-release-npm/schema/variables/publishOptionsSchema.md +1 -1
- package/api/@wtf/semantic-release-npm/schema/variables/publishSchema.md +1 -1
- package/api/@wtf/semantic-release-npm/type-aliases/PublisherSpec.md +1 -1
- package/api/@wtf/semantic-release-npm/variables/default.md +1 -1
- package/api/@wtf/semantic-release-replace/functions/functionOf.md +1 -1
- package/api/@wtf/semantic-release-replace/functions/prepare.md +1 -1
- package/api/@wtf/semantic-release-replace/functions/templatesOf.md +1 -1
- package/api/@wtf/semantic-release-replace/functions/verifyConditions.md +1 -1
- package/api/@wtf/semantic-release-replace/interfaces/ReplacePluginOptions.md +5 -5
- package/api/@wtf/semantic-release-replace/schema/interfaces/ModuleExport.md +3 -3
- package/api/@wtf/semantic-release-replace/schema/interfaces/ReplaceOptions.md +4 -4
- package/api/@wtf/semantic-release-replace/schema/interfaces/RootTemplates.md +2 -2
- package/api/@wtf/semantic-release-replace/schema/type-aliases/PluginReplacement.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/type-aliases/PluginReplacementSpec.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/type-aliases/PluginTemplates.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/type-aliases/PluginTo.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/type-aliases/TemplateSet.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/type-aliases/TemplatesOption.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/variables/configSchema.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/variables/exportedSetSchema.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/variables/jsonSchema.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/variables/replaceOptionsSchema.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/variables/replacementSchema.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/variables/rootTemplatesSchema.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/variables/templateSchema.md +1 -1
- package/api/@wtf/semantic-release-replace/schema/variables/templatesSchema.md +1 -1
- package/api/@wtf/semantic-release-replace/variables/default.md +1 -1
- package/api/@wtf/semantic-release-trains/config/functions/skipPlugins.md +1 -1
- package/api/@wtf/semantic-release-trains/config/functions/stepId.md +1 -1
- package/api/@wtf/semantic-release-trains/config/functions/trainAssets.md +1 -1
- package/api/@wtf/semantic-release-trains/config/functions/trainChangelog.md +1 -1
- package/api/@wtf/semantic-release-trains/config/functions/trainOfTag.md +1 -1
- package/api/@wtf/semantic-release-trains/config/functions/trainTagFormat.md +1 -1
- package/api/@wtf/semantic-release-trains/config/interfaces/AssetsOptions.md +4 -4
- package/api/@wtf/semantic-release-trains/config/interfaces/SkipOptions.md +3 -3
- package/api/@wtf/semantic-release-trains/config/variables/BRANCHES.md +1 -1
- package/api/@wtf/semantic-release-trains/config/variables/BREAKING.md +1 -1
- package/api/@wtf/semantic-release-trains/config/variables/TITLE.md +1 -1
- package/api/@wtf/semantic-release-trains/defaults/functions/skipRuleOf.md +1 -1
- package/api/@wtf/semantic-release-trains/defaults/functions/skips.md +1 -1
- package/api/@wtf/semantic-release-trains/defaults/functions/trainOptionsOf.md +1 -1
- package/api/@wtf/semantic-release-trains/defaults/interfaces/SkipContext.md +5 -5
- package/api/@wtf/semantic-release-trains/defaults/type-aliases/SkipCheck.md +1 -1
- package/api/@wtf/semantic-release-trains/defaults/type-aliases/TrainOptions.md +1 -1
- package/api/@wtf/semantic-release-trains/defaults/variables/SKIP_RULES.md +1 -1
- package/api/@wtf/semantic-release-trains/defaults/variables/TRAIN_OPTIONS.md +1 -1
- package/api/@wtf/semantic-release-trains/defaults/variables/TRAIN_SKIP.md +1 -1
- package/api/@wtf/semantic-release-trains/errors/type-aliases/PluginErrorCode.md +1 -1
- package/api/@wtf/semantic-release-trains/errors/variables/PLUGIN_ERRORS.md +1 -1
- package/api/@wtf/semantic-release-trains/info/functions/decideTrain.md +1 -1
- package/api/@wtf/semantic-release-trains/info/functions/dotenvOf.md +1 -1
- package/api/@wtf/semantic-release-trains/info/functions/infoOf.md +1 -1
- package/api/@wtf/semantic-release-trains/info/interfaces/DecideRun.md +4 -4
- package/api/@wtf/semantic-release-trains/info/interfaces/InfoRun.md +8 -8
- package/api/@wtf/semantic-release-trains/info/interfaces/TrainDecision.md +5 -5
- package/api/@wtf/semantic-release-trains/info/interfaces/TrainInfo.md +5 -5
- package/api/@wtf/semantic-release-trains/interfaces/TrainsEntryOptions.md +5 -5
- package/api/@wtf/semantic-release-trains/interfaces/TrainsOptions.md +7 -7
- package/api/@wtf/semantic-release-trains/schema/variables/configSchema.md +1 -1
- package/api/@wtf/semantic-release-trains/schema/variables/jsonSchema.md +1 -1
- package/api/@wtf/semantic-release-trains/schema/variables/pluginSpecSchema.md +1 -1
- package/api/@wtf/semantic-release-trains/schema/variables/skipRuleSchema.md +1 -1
- package/api/@wtf/semantic-release-trains/schema/variables/trainsEntrySchema.md +1 -1
- package/api/@wtf/semantic-release-trains/schema/variables/trainsPluginSchema.md +1 -1
- package/api/@wtf/semantic-release-trains/type-aliases/PluginSpec.md +1 -1
- package/api/@wtf/semantic-release-trains/type-aliases/TrainsPluginOptions.md +1 -1
- package/api/@wtf/semantic-release-trains/variables/addChannel.md +1 -1
- package/api/@wtf/semantic-release-trains/variables/analyzeCommits.md +1 -1
- package/api/@wtf/semantic-release-trains/variables/default.md +1 -1
- package/api/@wtf/semantic-release-trains/variables/fail.md +1 -1
- package/api/@wtf/semantic-release-trains/variables/generateNotes.md +1 -1
- package/api/@wtf/semantic-release-trains/variables/prepare.md +1 -1
- package/api/@wtf/semantic-release-trains/variables/publish.md +1 -1
- package/api/@wtf/semantic-release-trains/variables/success.md +1 -1
- package/api/@wtf/semantic-release-trains/variables/verifyConditions.md +1 -1
- package/api/@wtf/semantic-release-trains/variables/verifyRelease.md +1 -1
- package/api/@wtf/semantic-release-validate/functions/configOf.md +1 -1
- package/api/@wtf/semantic-release-validate/functions/loadSchema.md +1 -1
- package/api/@wtf/semantic-release-validate/functions/verifyConditions.md +1 -1
- package/api/@wtf/semantic-release-validate/interfaces/ValidatePluginOptions.md +2 -2
- package/api/@wtf/semantic-release-validate/schema/interfaces/Validator.md +2 -2
- package/api/@wtf/semantic-release-validate/schema/variables/configSchema.md +1 -1
- package/api/@wtf/semantic-release-validate/schema/variables/jsonSchema.md +1 -1
- package/api/@wtf/semantic-release-validate/schema/variables/validateOptionsSchema.md +1 -1
- package/api/@wtf/semantic-release-validate/variables/default.md +1 -1
- package/guides/changelogs.md +39 -28
- package/guides/ci-recipes.md +393 -271
- package/guides/configuring-trains.md +291 -203
- package/guides/dependency-rules.md +171 -113
- package/guides/ecosystems.md +222 -156
- package/guides/getting-started.md +135 -69
- package/guides/publishing-crates.md +208 -143
- package/guides/publishing-go-modules.md +170 -110
- package/guides/publishing-maven.md +197 -123
- package/guides/publishing.md +278 -191
- package/guides/system.md +50 -34
- package/guides/troubleshooting.md +358 -92
- package/guides/validating-a-config.md +68 -49
- package/package.json +1 -1
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Publish Maven modules
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
[`@wtf/semantic-release-maven`](../../semantic-release-maven/README.md). Neither reads a
|
|
9
|
-
`package.json`: a module is a `pom.xml`, so the plugin is a plugin of its own, listed beside
|
|
10
|
-
`@wtf/semantic-release-npm`, not a publisher of it.
|
|
3
|
+
[`@wtf/semantic-release-maven`](../../semantic-release-maven/README.md) deploys the Maven modules of
|
|
4
|
+
a repo that belong to a train. Use it when a train holds Maven modules, alone or beside packages of
|
|
5
|
+
other ecosystems in the same release. They share one version and one tag, and a retry finishes a
|
|
6
|
+
release that stopped. In a repo with several trains, each train's release deploys its own modules.
|
|
7
|
+
A module that depends on a module in another train gets that train's last release.
|
|
11
8
|
|
|
12
|
-
`@wtf/release-maven`
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
a release, and the releases a train owes the trains it depends on.
|
|
9
|
+
The plugin runs on the library [`@wtf/release-maven`](../../release-maven/README.md). Neither of
|
|
10
|
+
them reads a `package.json`: a module is a `pom.xml`. So the Maven plugin is a plugin of its own,
|
|
11
|
+
listed beside `@wtf/semantic-release-npm`, and not a publisher for it. Gradle is not supported: the
|
|
12
|
+
plugin reads poms and runs `mvn`.
|
|
17
13
|
|
|
18
|
-
|
|
14
|
+
The library's default export is the Maven ecosystem, and the plugin exports the same ecosystem at
|
|
15
|
+
`./ecosystem`. Add `'@wtf/semantic-release-maven/ecosystem'` to `ecosystems` in your config. The
|
|
16
|
+
trains then treat modules the same way as npm packages: they decide which train holds each module,
|
|
17
|
+
the order of the trains, the checks of a release, and the releases a train owes the trains it
|
|
18
|
+
depends on. See [How ecosystems work](ecosystems.md).
|
|
19
19
|
|
|
20
|
-
##
|
|
20
|
+
## Turn it on
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
### Keep a placeholder version in each pom
|
|
23
|
+
|
|
24
|
+
The tag holds the version, and git holds no version. Each `pom.xml` keeps a placeholder,
|
|
25
|
+
`0.0.0-SNAPSHOT`, as each `package.json` in an npm train keeps `0.0.0-development`:
|
|
24
26
|
|
|
25
27
|
```xml
|
|
26
28
|
<project>
|
|
@@ -43,27 +45,38 @@ The tag is the version, and no version is written into git. Each `pom.xml` holds
|
|
|
43
45
|
</project>
|
|
44
46
|
```
|
|
45
47
|
|
|
46
|
-
The run
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
The tag's run writes the tag's version into each pom and deploys. The job then throws the working
|
|
49
|
+
tree away.
|
|
50
|
+
|
|
51
|
+
A module is each `pom.xml` that git tracks, except one in a `src` or a `target` folder, such as the
|
|
52
|
+
fixtures of a plugin's tests. Its name is `groupId:artifactId`. When the pom writes no groupId, the
|
|
53
|
+
module takes its parent's.
|
|
54
|
+
|
|
55
|
+
### Add the Maven ecosystem
|
|
56
|
+
|
|
57
|
+
A module belongs to the train whose `paths` hold its folder, as a package belongs to the train
|
|
58
|
+
whose paths hold its `package.json`. The plugin reads `trains`, `ecosystems` and `train` from the
|
|
59
|
+
root of the config, as `@wtf/semantic-release-npm` does. No release deploys a module that belongs to
|
|
60
|
+
no train, such as a sample.
|
|
50
61
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
release. `ecosystems` must list the ecosystem of Maven, the plugin's
|
|
55
|
-
`'@wtf/semantic-release-maven/ecosystem'` or `'@wtf/release-maven'`, or the trains read no module
|
|
56
|
-
and the plugin fails in `verifyConditions` with `EMAVENECOSYSTEM`.
|
|
62
|
+
`ecosystems` must list the Maven ecosystem: the plugin's `'@wtf/semantic-release-maven/ecosystem'`
|
|
63
|
+
or `'@wtf/release-maven'`. Otherwise the trains read no module, and the plugin fails in
|
|
64
|
+
`verifyConditions` with `EMAVENECOSYSTEM`.
|
|
57
65
|
|
|
58
|
-
|
|
59
|
-
every file. Keep the parent in a folder of its own, as `parent/pom.xml`, and the root pom an
|
|
60
|
-
aggregator of `<modules>`, of `maven.deploy.skip` and no train. Give each child the parent's
|
|
61
|
-
`<relativePath>`, so Maven finds the parent in the repo rather than in a repository.
|
|
66
|
+
### Keep the parent out of the root
|
|
62
67
|
|
|
63
|
-
|
|
68
|
+
A pom at the root of the repo has the folder `.`. Only a path of `.` holds that folder, and such a
|
|
69
|
+
path holds every file. So:
|
|
64
70
|
|
|
65
|
-
|
|
66
|
-
|
|
71
|
+
- Keep the parent in a folder of its own, such as `parent/pom.xml`.
|
|
72
|
+
- Make the root pom an aggregator of `<modules>`, with `maven.deploy.skip` and no train.
|
|
73
|
+
- Give each child the parent's `<relativePath>`, so that Maven finds the parent in the repo rather
|
|
74
|
+
than in a repository.
|
|
75
|
+
|
|
76
|
+
### List the plugin in the tag's run
|
|
77
|
+
|
|
78
|
+
The branch run decides the version and pushes the tag, as for any train. The tag's run is the job
|
|
79
|
+
that deploys. List the plugin there:
|
|
67
80
|
|
|
68
81
|
```js norun
|
|
69
82
|
// release.config.mjs
|
|
@@ -75,20 +88,45 @@ export const tagPlugins = [
|
|
|
75
88
|
]
|
|
76
89
|
```
|
|
77
90
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
91
|
+
### What the jobs need
|
|
92
|
+
|
|
93
|
+
The tag's job needs Node for semantic-release, and Maven and a JDK for the deploys. Use an image
|
|
94
|
+
with both, or one that has one of them and installs the other. The branch jobs need neither Maven
|
|
95
|
+
nor a JDK, because the trains read the poms with git.
|
|
96
|
+
|
|
97
|
+
## What a release does
|
|
81
98
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
99
|
+
1. **`verifyConditions`** checks the options and reads the poms. It selects the modules that the
|
|
100
|
+
release deploys and puts them in dependency order. It reads each other train's last release from
|
|
101
|
+
its tags, and finds each module's repository. A repo that cannot be deployed fails here, before
|
|
102
|
+
the tag (see [When modules depend on other trains](#when-modules-depend-on-other-trains)).
|
|
103
|
+
2. **`prepare`** writes the versions into the poms: the release's version into the train's poms,
|
|
104
|
+
and each other train's last release into that train's poms. It also writes them into the
|
|
105
|
+
parents, dependencies and plugins that name those modules. Then it reads the poms again, and a
|
|
106
|
+
module that is not at its train's version fails the run (see
|
|
107
|
+
[What the stamp writes](#what-the-stamp-writes)).
|
|
108
|
+
3. **`publish`** asks each module's repository whether it has the module's pom, and skips each one
|
|
109
|
+
it has. It deploys the rest in dependency order.
|
|
87
110
|
|
|
88
|
-
|
|
111
|
+
A dry run of semantic-release runs only `verifyConditions`. It writes no version and deploys
|
|
112
|
+
nothing.
|
|
89
113
|
|
|
90
|
-
|
|
91
|
-
|
|
114
|
+
### How a module is deployed
|
|
115
|
+
|
|
116
|
+
The plugin deploys each module with `mvn -B -N -f <dir>/pom.xml deploy`. It builds that pom alone,
|
|
117
|
+
from the root of the repo, after the modules it depends on.
|
|
118
|
+
|
|
119
|
+
- A deploy runs the module's build and its tests. Add `-DskipTests` to `args` when the branch
|
|
120
|
+
pipeline has run them.
|
|
121
|
+
- The release may need to build a module that it neither deploys nor finds on the repository, such
|
|
122
|
+
as a test kit with `maven.deploy.skip`. The plugin installs such a module into the local
|
|
123
|
+
repository first.
|
|
124
|
+
|
|
125
|
+
## When modules depend on other trains
|
|
126
|
+
|
|
127
|
+
A repo can be released in several trains. Each train has its own modules, version and tags, and its
|
|
128
|
+
modules can depend on other trains' modules. For example: a core, a client over it, and docs over
|
|
129
|
+
both.
|
|
92
130
|
|
|
93
131
|
```js norun
|
|
94
132
|
// release.config.mjs
|
|
@@ -101,68 +139,91 @@ export const trains = {
|
|
|
101
139
|
export const ecosystems = ['@wtf/semantic-release-maven/ecosystem']
|
|
102
140
|
```
|
|
103
141
|
|
|
104
|
-
The trains read the modules
|
|
105
|
-
train's modules
|
|
106
|
-
|
|
142
|
+
The trains read the modules through the Maven ecosystem. A train whose modules depend on another
|
|
143
|
+
train's modules releases after that train. Any scope except `test` counts, and so does a `<parent>`
|
|
144
|
+
or a build plugin. You do not need `dependsOn` for this. Name a train in `dependsOn` only for what
|
|
145
|
+
no pom says.
|
|
146
|
+
|
|
147
|
+
### What versions the release writes
|
|
148
|
+
|
|
149
|
+
A train's release writes its own version into its modules. For each other train, it writes the
|
|
150
|
+
last release whose tag the tagged commit holds, into that train's modules and into everything that
|
|
151
|
+
names them. For example, the release `client-v1.1.0` comes after `core-v1.4.0`. It deploys `client`
|
|
152
|
+
1.1.0 with the parent at 1.4.0 and `core` at 1.4.0. It deploys nothing of core's, because the
|
|
153
|
+
repository already has it.
|
|
154
|
+
|
|
155
|
+
### Checks before the tag
|
|
107
156
|
|
|
108
|
-
The
|
|
109
|
-
train, of its tags that the tag's commit holds, into that train's modules and into everything that
|
|
110
|
-
names them. So the release `client-v1.1.0`, after `core-v1.4.0`, deploys `client` 1.1.0 of the
|
|
111
|
-
parent 1.4.0 and `core` 1.4.0, and nothing of core's, which the repository has.
|
|
157
|
+
The trains run the same checks for every ecosystem. They run in `verifyConditions`, before the tag:
|
|
112
158
|
|
|
113
|
-
|
|
114
|
-
module of the release that depends on a module of
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
159
|
+
- A module of the release that depends on a module of no train fails with `EDEPENDENCYNOTRAIN`.
|
|
160
|
+
- A module of the release that depends on a module of a train with no release fails with
|
|
161
|
+
`EDEPENDENCYNORELEASE`.
|
|
162
|
+
- A module that the paths of two trains hold fails with `ETRAINOVERLAP`.
|
|
163
|
+
|
|
164
|
+
In the first two cases there is no version that a repository could serve, so the release never
|
|
165
|
+
deploys the placeholder. A dependency in the `test` scope is not a fault, because no consumer
|
|
166
|
+
resolves it.
|
|
167
|
+
|
|
168
|
+
A module of the release fails with `EMAVENPRIVATE` when it has a module with `maven.deploy.skip` as
|
|
169
|
+
its parent, or depends on one in any scope but `test`. A consumer would not find that module.
|
|
120
170
|
|
|
121
171
|
### Versions and ranges
|
|
122
172
|
|
|
123
|
-
|
|
124
|
-
unless the build has another version of the module. So
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
173
|
+
Maven reads a bare version, such as `<version>1.4.0</version>`, as a soft requirement. Maven takes
|
|
174
|
+
it unless the build has another version of the module. So no release of core owes client anything,
|
|
175
|
+
and a bare version never causes a cascade (see
|
|
176
|
+
[Trains that depend on other trains](dependency-rules.md)).
|
|
177
|
+
|
|
178
|
+
A range of your own, such as `[1.4,2.0)`, works by its bounds, in Maven's order of versions: `1.0`
|
|
179
|
+
is `1.0.0`, and `1.5.0-beta.1` comes before `1.5.0`. The release never writes a range. Once core's
|
|
180
|
+
last release is outside your range, as 2.0.0 would be, a release of client fails with
|
|
181
|
+
`EDEPENDENCYUNSATISFIED` until you change the range.
|
|
129
182
|
|
|
130
183
|
## What the stamp writes
|
|
131
184
|
|
|
132
|
-
Each module takes
|
|
133
|
-
train
|
|
185
|
+
Each module takes its train's version. A module in the release's train takes the release's version.
|
|
186
|
+
A module in another train takes that train's last release. A module of no train takes none. In every
|
|
187
|
+
pom of the repo, the stamp writes:
|
|
188
|
+
|
|
189
|
+
- the project's `<version>` of each module that takes a version, including a `${revision}`;
|
|
190
|
+
- the `<parent>`'s `<version>`, when the parent is a module of the repo that takes a version;
|
|
191
|
+
- the `<version>` of each `<dependency>` and each `<plugin>` that names a module that takes a
|
|
192
|
+
version, including `${project.version}`. This covers `<dependencies>`, `<dependencyManagement>`,
|
|
193
|
+
a plugin's dependencies, and profiles.
|
|
134
194
|
|
|
135
|
-
|
|
136
|
-
- the `<parent>`'s `<version>`, where the parent is a module of the repo that takes a version;
|
|
137
|
-
- the `<version>` of each `<dependency>`, in `<dependencies>`, `<dependencyManagement>`, a plugin's
|
|
138
|
-
dependencies and a profile, and of each `<plugin>`, that names a module that takes a version,
|
|
139
|
-
`${project.version}` too.
|
|
195
|
+
The stamp leaves these alone:
|
|
140
196
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
of
|
|
144
|
-
`<version>` is, and writes the new text there, so the comments, the layout and the line ends stay as
|
|
145
|
-
they were.
|
|
197
|
+
- a range;
|
|
198
|
+
- a dependency without a `<version>`, which takes the one that its `<dependencyManagement>` gives;
|
|
199
|
+
- a version from a property of your own, such as `${core.version}`.
|
|
146
200
|
|
|
147
|
-
|
|
148
|
-
module of another train, or whose parent is not of the repo, fails with `EMAVENSTAMP`; give it a
|
|
149
|
-
`<version>0.0.0-SNAPSHOT</version>` of its own. A module of no train that inherits its version moves
|
|
150
|
-
with its parent. After the stamp, the plugin reads the poms again, and a module not at the version
|
|
151
|
-
of its train fails the run (`EMAVENVERSION`), so a pom the stamp did not write cannot deploy at the
|
|
152
|
-
wrong version.
|
|
201
|
+
So write the version of a module of the repo as `0.0.0-SNAPSHOT` or `${project.version}`.
|
|
153
202
|
|
|
154
|
-
|
|
203
|
+
The stamp does not rewrite the XML. It finds where each `<version>` is and writes the new text
|
|
204
|
+
there, so comments, layout and line endings stay as they were.
|
|
155
205
|
|
|
156
|
-
A module
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
206
|
+
A module that writes no `<version>` takes its parent's, so it must be in its parent's train. A
|
|
207
|
+
module in another train, or one whose parent is not in the repo, fails with `EMAVENSTAMP`. Give it
|
|
208
|
+
its own `<version>0.0.0-SNAPSHOT</version>`. A module of no train that inherits its version moves
|
|
209
|
+
with its parent.
|
|
160
210
|
|
|
161
|
-
|
|
211
|
+
After the stamp, the plugin reads the poms again. A module that is not at its train's version fails
|
|
212
|
+
the run (`EMAVENVERSION`), so a pom that the stamp did not write cannot deploy at the wrong version.
|
|
162
213
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
214
|
+
## Skip a module with `maven.deploy.skip`
|
|
215
|
+
|
|
216
|
+
The plugin does not deploy a module whose `<properties>` set `maven.deploy.skip` to `true`, or whose
|
|
217
|
+
parent in the repo does. The module's own value wins over its parent's. So a parent of samples can
|
|
218
|
+
skip them all, and one sample can set it back to `false`. Use it for an aggregator, samples,
|
|
219
|
+
integration tests and test kits. You can also leave a module of the train out with `exclude`, by its
|
|
220
|
+
`groupId:artifactId`.
|
|
221
|
+
|
|
222
|
+
## Deploy to the GitLab Maven registry
|
|
223
|
+
|
|
224
|
+
A project's registry serves its packages at
|
|
225
|
+
`${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven`. A job reads and writes it with its
|
|
226
|
+
`CI_JOB_TOKEN`. The settings give Maven the token as the `Job-Token` header. They hold no secret, so
|
|
166
227
|
commit them, or let the job write them:
|
|
167
228
|
|
|
168
229
|
```xml
|
|
@@ -184,8 +245,8 @@ commit them, or let the job write them:
|
|
|
184
245
|
</settings>
|
|
185
246
|
```
|
|
186
247
|
|
|
187
|
-
|
|
188
|
-
|
|
248
|
+
Give the plugin the repository and the header that its lookups send. The plugin reads each
|
|
249
|
+
`${env.…}` in the repository's `url` from the run's environment. No log holds the header:
|
|
189
250
|
|
|
190
251
|
```js norun
|
|
191
252
|
// release.config.mjs
|
|
@@ -202,16 +263,20 @@ export const maven = [
|
|
|
202
263
|
]
|
|
203
264
|
```
|
|
204
265
|
|
|
205
|
-
The same `<repository>` in the parent's `<distributionManagement>`
|
|
206
|
-
`repository`. The
|
|
266
|
+
The same `<repository>` in the parent's `<distributionManagement>` works as well, without
|
|
267
|
+
`repository`. The plugin asks the registry where it deploys, so you do not need `lookup`.
|
|
268
|
+
|
|
269
|
+
## Deploy to Maven Central
|
|
207
270
|
|
|
208
|
-
|
|
271
|
+
Maven Central takes a release through the Central Portal, and serves it at
|
|
272
|
+
`https://repo1.maven.org/maven2`. It needs:
|
|
209
273
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
namespace (the groupId) the Portal has verified for you.
|
|
214
|
-
|
|
274
|
+
- each module signed;
|
|
275
|
+
- a jar of the sources and a jar of the javadoc;
|
|
276
|
+
- a `<name>`, `<description>`, `<url>`, `<licenses>`, `<developers>` and `<scm>`;
|
|
277
|
+
- a namespace (the groupId) that the Portal has verified for you.
|
|
278
|
+
|
|
279
|
+
Put the plugins in a `release` profile, so that the branch builds do not sign:
|
|
215
280
|
|
|
216
281
|
```xml
|
|
217
282
|
<profile>
|
|
@@ -245,8 +310,8 @@ the branch builds do not sign:
|
|
|
245
310
|
</profile>
|
|
246
311
|
```
|
|
247
312
|
|
|
248
|
-
The `central-publishing-maven-plugin`
|
|
249
|
-
`distributionManagement`. The settings give it the user token
|
|
313
|
+
The `central-publishing-maven-plugin` replaces Maven's deploy, so a module needs no
|
|
314
|
+
`distributionManagement`. The settings give it the Portal's user token, from protected, masked
|
|
250
315
|
variables:
|
|
251
316
|
|
|
252
317
|
```xml
|
|
@@ -262,8 +327,8 @@ variables:
|
|
|
262
327
|
</settings>
|
|
263
328
|
```
|
|
264
329
|
|
|
265
|
-
|
|
266
|
-
`echo "$GPG_PRIVATE_KEY" | gpg --batch --import
|
|
330
|
+
Before the release, the job imports the signing key, as
|
|
331
|
+
`echo "$GPG_PRIVATE_KEY" | gpg --batch --import`. `maven-gpg-plugin` reads its passphrase from
|
|
267
332
|
`MAVEN_GPG_PASSPHRASE`. The plugin asks Maven Central for each pom, which needs no credentials, and
|
|
268
333
|
names no repository:
|
|
269
334
|
|
|
@@ -275,19 +340,28 @@ export const maven = [
|
|
|
275
340
|
]
|
|
276
341
|
```
|
|
277
342
|
|
|
278
|
-
A deploy to the Portal is asynchronous
|
|
279
|
-
`repo1.maven.org
|
|
280
|
-
the
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
343
|
+
A deploy to the Portal is asynchronous. The Portal validates it, then publishes it, and only then
|
|
344
|
+
does `repo1.maven.org` serve it. `waitUntil` set to `published` makes each deploy wait for this, so
|
|
345
|
+
the next module finds the one before it.
|
|
346
|
+
|
|
347
|
+
If you retry a release before Maven Central serves a module, the plugin deploys that module again,
|
|
348
|
+
and the Portal refuses a version it already has. Wait for the module to appear, then retry.
|
|
349
|
+
|
|
350
|
+
The Portal's OSSRH Staging API, for builds on `maven-deploy-plugin`, can also be the plugin's
|
|
351
|
+
`repository`. But it needs a call of its own after the deploys to move them to the Portal, and the
|
|
352
|
+
plugin does not make that call.
|
|
353
|
+
|
|
354
|
+
## When a publish fails
|
|
355
|
+
|
|
356
|
+
A release version on a repository stays. Maven Central never takes a version twice, and a registry
|
|
357
|
+
that takes one again ends up with two of the same version.
|
|
358
|
+
|
|
359
|
+
Before the first deploy, the plugin asks the repository for each module's pom with a `HEAD`
|
|
360
|
+
request: a 2xx means the repository has it, a 404 means it does not. The plugin skips each module
|
|
361
|
+
the repository has, so retry the tag's job to deploy what is missing.
|
|
362
|
+
|
|
363
|
+
- A deploy that fails stops the run with `EMAVENDEPLOY` and the tail of Maven's output. The modules
|
|
364
|
+
before it are deployed.
|
|
365
|
+
- A repository that cannot be asked, or that answers anything else, such as a 401, stops the run
|
|
366
|
+
before anything is deployed (`EMAVENREPOSITORY`). Give `lookupAuth`, or a `lookup` that serves the
|
|
367
|
+
poms to anyone.
|