Dagger
Search

semantic-release

This module has been generated via dagger init and serves as a reference to
basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.

The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.

Installation

dagger install github.com/BCIT-LTC/daggerverse/semantic-release@39a8eb2c7d42dab3189c03b75aae61579c10e639

Entrypoint

Return Type
SemanticRelease !
Example
dagger -m github.com/BCIT-LTC/daggerverse/semantic-release@39a8eb2c7d42dab3189c03b75aae61579c10e639 call \
func (m *MyModule) Example() *dagger.SemanticRelease  {
	return dag.
			SemanticRelease()
}
@function
def example() -> dagger.SemanticRelease:
	return (
		dag.semantic_release()
	)
@func()
example(): SemanticRelease {
	return dag
		.semanticRelease()
}

Types

SemanticRelease 🔗

Semantic Release Dagger Module This Dagger module extends the functionality of the [semantic-release](https://github.com/semantic-release/semantic-release) project, providing a containerized and declarative pipeline for fully automated software release workflows. Built with [Dagger](https://dagger.io/), this module enables advanced CI/CD customization and composability while preserving the core principles of semantic versioning and automated changelog generation. Features: - Encapsulates semantic-release as a Dagger pipeline step - Supports custom plugin injection and configuration - Optimized for portability and reproducibility across CI environments - Easily integrable with larger Dagger-based CI/CD pipelines Attribution: This module builds on the foundation provided by the [semantic-release](https://github.com/semantic-release/semantic-release) project, maintained by its contributors. All semantic-release core functionalities remain under their original [license and guidelines](https://github.com/semantic-release/semantic-release/blob/master/LICENSE).

semanticrelease() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -Source directory
githubTokenSecret -No description provided
usernameString !"local"Github Username
repositoryUrlString !""Repository URL
dryRunBoolean !falseDry run mode
debugBoolean !falseDebug mode
ciBoolean !trueCI mode
Example
dagger -m github.com/BCIT-LTC/daggerverse/semantic-release@39a8eb2c7d42dab3189c03b75aae61579c10e639 call \
 semanticrelease --username string --repository-url string --dry-run boolean --debug boolean --ci boolean
func (m *MyModule) Example(ctx context.Context, username string, repositoryUrl string, dryRun bool, debug bool, ci bool) string  {
	return dag.
			SemanticRelease().
			Semanticrelease(ctxusername, repositoryUrl, dryRun, debug, ci)
}
@function
async def example(username: str, repository_url: str, dry_run: bool, debug: bool, ci: bool) -> str:
	return await (
		dag.semantic_release()
		.semanticrelease(username, repository_url, dry_run, debug, ci)
	)
@func()
async example(username: string, repositoryUrl: string, dryRun: boolean, debug: boolean, ci: boolean): Promise<string> {
	return dag
		.semanticRelease()
		.semanticrelease(username, repositoryUrl, dryRun, debug, ci)
}