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@c8174043fcda77ce3281904464d013b346b4097b

Entrypoint

Return Type
SemRel !
Example
dagger -m github.com/mjb141/daggerverse/sem-rel@c8174043fcda77ce3281904464d013b346b4097b 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.
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
Example
dagger -m github.com/mjb141/daggerverse/sem-rel@c8174043fcda77ce3281904464d013b346b4097b call \
 release --dir DIR_PATH --token env:MYSECRET --check-if-ci boolean --dry-run boolean
func (m *myModule) example(dir *Directory, token *Secret, checkIfCi bool, dryRun bool) *Container  {
	return dag.
			SemRel().
			Release(dir, token, checkIfCi, dryRun)
}
@function
def example(dir: dagger.Directory, token: dagger.Secret, check_if_ci: bool, dry_run: bool) -> dagger.Container:
	return (
		dag.sem_rel()
		.release(dir, token, check_if_ci, dry_run)
	)
@func()
example(dir: Directory, token: Secret, checkIfCi: boolean, dryRun: boolean): Container {
	return dag
		.semRel()
		.release(dir, token, checkIfCi, dryRun)
}