cpdevtools/Dev Tools Version Action

Version Stuff

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
versionFilePath to a json file that contains the target versionno
versionThe target versionno
branchOverride the branch. {v | release}/{latest | {major}[.{minor}] } {major}[.{minor}]. examples: v/1 v/1.1 release/1.1 v/latestno
existingVersionsOverride the released versions. One per lineno
githubTokenThe GitHub token used to create an authenticated clientno${{ github.token }}
autoCreatePullRequestif set to true and validCanCreate is true ang there is no pullRequest yet, create itnofalse
draftPullRequestif set to true pull requests will be created as draft (no available in free private repos)nofalse
failInvalidCanCreateif set to true the action will fail if validCanCreate is falsenofalse
failInvalidIsNewVersionif set to true the action will fail if validIsNewVersion is falsenofalse
failInvalidIsHighestVersionInBranchif set to true the action will fail if validIsHighestVersionInBranch is falsenofalse
failInvalidIsHighestVersionif set to true the action will fail if validIsHighestVersion is falsenofalse
failInvaildBranchVersionMaximumif set to true the action will fail if vaildBranchVersionMaximum is falsenofalse
failInvalidBranchVersionMinimumif set to true the action will fail if validBranchVersionMinimum is falsenofalse
createTags"version" | "latest" | "next" | "pre-release" | "latest-major" | "latest-minor" | "all" | "named" | "versions" | "version-components"no
namedescription
branchThe source branch
pullRequestThe id of the release pull request
branchLatestThe latest version for this branch
isSourceThe branch is a release source branch
isTargetThe branch is a release target branch
targetVersionThe version specified in the version file
sourceVersionThe the highest version of the branch
sourceMajorThe major component of sourceVersion
sourceMinorThe minor component of sourceVersion
sourcePatchThe patch component of sourceVersion
sourceBuildThe build components of sourceVersion
sourcePrereleaseThe prerelease component of sourceVersion
sourcePrereleaseBuildThe prerelease build component of sourceVersion
sourceIsPrereleasesourceVersion has a prerelease component
sourceIsStablesourceVersion does not have a prerelease component and is 1.0 or greater
targetMajorThe major component of targetVersion
targetMinorThe minor component of targetVersion
targetPatchThe patch component of targetVersion
targetBuildThe build components of targetVersion
targetPrereleaseThe prerelease component of targetVersion
targetPrereleaseBuildThe prerelease build component of targetVersion
targetIsPrereleasetargetVersion has a prerelease component
targetIsStabletargetVersion does not have a prerelease component and is 1.0 or greater
highestVersionthe highest version in the repository
latestVersionthe highest release version in the repository
isHighestVersiontargetVersion is the highest version in the repository
isLatestVersiontargetVersion is the highest release version in the repository
isHighestMajortargetVersion is the highest version with the same major component
isHighestMinortargetVersion is the highest version with the same major & minor components
isLatestMajortargetVersion is the highest release version with the same major component
isLatestMinortargetVersion is the highest release version with the same major & minor components
validCanCreatetargetVersion meets all validation and is ready to be created
validBranchVersionMinimumtargetVersion meets the minimum for the release range
vaildBranchVersionMaximumtargetVersion meets the maximum for the release range
validIsNewVersiontargetVersion is a new version tag
validIsHighestVersionInBranchtargetVersion will be the highest version in the release range
validIsHighestVersiontargetVersion will be the highest version