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@5dd0423fbbc2b0cc789d4fdb6b935f3fbbe3967f

Entrypoint

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

test() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -Source directory
branchString !-Branch name
usernameString !-Username
githubTokenSecret !-Github Token
Example
dagger -m github.com/BCIT-LTC/daggerverse/semantic-release@5dd0423fbbc2b0cc789d4fdb6b935f3fbbe3967f call \
 test --branch string --username string --github-token env:MYSECRET
func (m *myModule) example(ctx context.Context, branch string, username string, githubToken *dagger.Secret)   {
	return dag.
			SemanticRelease().
			Test(ctxbranch, username, githubToken)
}
@function
async def example(branch: str, username: str, github_token: dagger.Secret) -> None:
	return await (
		dag.semantic_release()
		.test(branch, username, github_token)
	)
@func()
async example(branch: string, username: string, githubToken: Secret): Promise<void> {
	return dag
		.semanticRelease()
		.test(branch, username, githubToken)
}