Dagger
Search

versioner

No long description provided.

Installation

dagger install github.com/felipepimentel/daggerverse/essentials/versioner@v0.0.0

Entrypoint

Return Type
Versioner !
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/versioner@897f772fd76fa69f1bba8d284b0becb1053353dc call \
func (m *myModule) example() *Versioner  {
	return dag.
			Versioner()
}
@function
def example() -> dag.Versioner:
	return (
		dag.versioner()
	)
@func()
example(): Versioner {
	return dag
		.versioner()
}

Types

Versioner 🔗

Versioner implements version management for repositories

bumpVersion() 🔗

BumpVersion creates a new version tag based on the latest tag

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
outputVersionBoolean !-No description provided
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/versioner@897f772fd76fa69f1bba8d284b0becb1053353dc call \
 bump-version --source DIR_PATH --output-version boolean
func (m *myModule) example(ctx context.Context, source *Directory, outputVersion bool) string  {
	return dag.
			Versioner().
			BumpVersion(ctx, source, outputVersion)
}
@function
async def example(source: dagger.Directory, output_version: bool) -> str:
	return await (
		dag.versioner()
		.bump_version(source, output_version)
	)
@func()
async example(source: Directory, outputVersion: boolean): Promise<string> {
	return dag
		.versioner()
		.bumpVersion(source, outputVersion)
}