Sign inSign up

cenk1cenk2/pipe-semantic-release

By cenk1cenk2

•Updated about 4 hours ago

semantic-release embedded inside a container for CI jobs.

Image
0

10K+

cenk1cenk2/pipe-semantic-release repository overview

⁠pipe-semantic-release

Releases applications through the semantic-release library.

pipe-semantic-release [FLAGS]

⁠Flags

CI Variables

Flag / EnvironmentDescriptionTypeDefault
$SEMANTIC_RELEASE_CI_COMMIT_REFERENCE
$CI_COMMIT_REF_NAME
Current commit reference, either the branch or the tag name of the project.string

CLI

Flag / EnvironmentDescriptionTypeDefault
$LOG_LEVELDefine the log level for the application.string
enum("panic", "fatal", "warn", "info", "debug", "trace")
"info"
$ENV_FILEEnvironment files to inject.string[]

Login

Flag / EnvironmentDescriptionTypeDefault
$NPM_LOGINNPM registries to login.string
format(json([]struct{ username: string, token: string, registry?: string, useHttps?: bool }))
$NPM_NPMRC_FILE.npmrc file to use.string[]".npmrc"
$NPM_NPMRCDirect contents of .npmrc file.string

Package Manager

Flag / EnvironmentDescriptionTypeDefault
$NODE_PACKAGE_MANAGERPreferred package manager for nodejs.string
format(enum("npm", "yarn", "pnpm"))
"pnpm"

Semantic Release

Flag / EnvironmentDescriptionTypeDefault
$SEMANTIC_RELEASE_DRY_RUNRun semantic-release in dry mode without making changes.boolfalse
$SEMANTIC_RELEASE_WORKSPACEUse @anolilab/multi-semantic-release package to do a workspace release.boolfalse
$TAGS_FILEFile the release writes its tag into, which is handed over to the later jobs as a dotenv report.string".tags"
$SEMANTIC_RELEASE_ENV_FILEDotenv report the released tags are written into for the later jobs.string"semantic-release.env"
$SEMANTIC_RELEASE_ENV_VARIABLEVariable the released tag is handed over in, suffixed with the package name of every released package in a workspace.string"SEMANTIC_RELEASE_TAG"

Tag summary

Content type

Image

Digest

sha256:2165fa7bd…

Size

121.3 MB

Last updated

about 4 hours ago

docker pull cenk1cenk2/pipe-semantic-release