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/semantic-release@a00f2a93ec0d15cbd226b50f137064077fadbce8

Entrypoint

Return Type
SemanticRelease !
Example
dagger -m github.com/BCIT-LTC/semantic-release@a00f2a93ec0d15cbd226b50f137064077fadbce8 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 🔗

env() 🔗

Returns a container with the necessary environment for git and gh

Return Type
Container !
Example
dagger -m github.com/BCIT-LTC/semantic-release@a00f2a93ec0d15cbd226b50f137064077fadbce8 call \
 env
func (m *myModule) example() *dagger.Container  {
	return dag.
			SemanticRelease().
			Env()
}
@function
def example() -> dagger.Container:
	return (
		dag.semantic_release()
		.env()
	)
@func()
example(): Container {
	return dag
		.semanticRelease()
		.env()
}

version() 🔗

Returns the string argument provided

Return Type
String !
Example
dagger -m github.com/BCIT-LTC/semantic-release@a00f2a93ec0d15cbd226b50f137064077fadbce8 call \
 version
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			SemanticRelease().
			Version(ctx)
}
@function
async def example() -> str:
	return await (
		dag.semantic_release()
		.version()
	)
@func()
async example(): Promise<string> {
	return dag
		.semanticRelease()
		.version()
}