Dagger
Search

sem-rel

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/mjb141/daggerverse/sem-rel@d2d5c4243d114bc4aa6995682f8815e2e2bd0211

Entrypoint

Return Type
SemRel !
Example
dagger -m github.com/mjb141/daggerverse/sem-rel@d2d5c4243d114bc4aa6995682f8815e2e2bd0211 call \
func (m *myModule) example() *SemRel  {
	return dag.
			SemRel()
}
@function
def example() -> dag.SemRel:
	return (
		dag.sem_rel()
	)
@func()
example(): SemRel {
	return dag
		.semRel()
}

Types

SemRel 🔗

release() 🔗

Returns a container that echoes whatever string argument is provided

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
dirDirectory !-A directory.
providerString !-No description provided
tokenSecret !-A reference to a secret value, which can be handled more safely than the value itself.
checkIfCiBoolean !trueNo description provided
dryRunBoolean !trueNo description provided
addBranchBoolean !falseNo description provided
Example
dagger -m github.com/mjb141/daggerverse/sem-rel@d2d5c4243d114bc4aa6995682f8815e2e2bd0211 call \
 release --dir DIR_PATH --provider string --token env:MYSECRET --check-if-ci boolean --dry-run boolean --add-branch boolean
func (m *myModule) example(dir *Directory, provider string, token *Secret, checkIfCi bool, dryRun bool, addBranch bool) *Container  {
	return dag.
			SemRel().
			Release(dir, provider, token, checkIfCi, dryRun, addBranch)
}
@function
def example(dir: dagger.Directory, provider: str, token: dagger.Secret, check_if_ci: bool, dry_run: bool, add_branch: bool) -> dagger.Container:
	return (
		dag.sem_rel()
		.release(dir, provider, token, check_if_ci, dry_run, add_branch)
	)
@func()
example(dir: Directory, provider: string, token: Secret, checkIfCi: boolean, dryRun: boolean, addBranch: boolean): Container {
	return dag
		.semRel()
		.release(dir, provider, token, checkIfCi, dryRun, addBranch)
}