Dagger
Search

goreleaser

No long description provided.

Installation

dagger install github.com/juli3nk/daggerverse/goreleaser@ebb8d64ed1c13379607c3d1725bd3ff5bf62f54f

Entrypoint

Return Type
Goreleaser !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
Example
dagger -m github.com/juli3nk/daggerverse/goreleaser@ebb8d64ed1c13379607c3d1725bd3ff5bf62f54f call \
func (m *MyModule) Example() *dagger.Goreleaser  {
	return dag.
			Goreleaser()
}
@function
def example() -> dagger.Goreleaser:
	return (
		dag.goreleaser()
	)
@func()
example(): Goreleaser {
	return dag
		.goreleaser()
}

Types

Goreleaser 🔗

worktree() 🔗

Return Type
Directory !
Example
dagger -m github.com/juli3nk/daggerverse/goreleaser@ebb8d64ed1c13379607c3d1725bd3ff5bf62f54f call \
 worktree
func (m *MyModule) Example() *dagger.Directory  {
	return dag.
			Goreleaser().
			Worktree()
}
@function
def example() -> dagger.Directory:
	return (
		dag.goreleaser()
		.worktree()
	)
@func()
example(): Directory {
	return dag
		.goreleaser()
		.worktree()
}

build() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
autoSnapshotBoolean false

Automatically sets –snapshot if the repository is dirty

cleanBoolean false

Removes the ‘dist’ directory before building

configString -

Load configuration from file

idString -

Builds only the specified build ids

outputString -

Copy the binary to the path after the build. Only taken into account when using –single-target and a single id (either with –id or if configuration only has one build)

parallelismString -

Number of tasks to run concurrently (default: number of CPUs)

singleTargetBoolean false

Builds only for current GOOS and GOARCH, regardless of what’s set in the configuration file

skipString -

Skip the given options (valid options are: before, post-hooks, pre-hooks, validate)

snapshotBoolean false

Generate an unversioned snapshot build, skipping all validations

timeoutString "1h0m0s"

Timeout to the entire build process

verboseOutputBoolean false

Enable verbose mode

Example
dagger -m github.com/juli3nk/daggerverse/goreleaser@ebb8d64ed1c13379607c3d1725bd3ff5bf62f54f call \
 build
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Goreleaser().
			Build(ctx)
}
@function
async def example() -> str:
	return await (
		dag.goreleaser()
		.build()
	)
@func()
async example(): Promise<string> {
	return dag
		.goreleaser()
		.build()
}

check() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
configString -No description provided
quietlyBoolean falseNo description provided
verboseOutputBoolean falseNo description provided
Example
dagger -m github.com/juli3nk/daggerverse/goreleaser@ebb8d64ed1c13379607c3d1725bd3ff5bf62f54f call \
 check
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Goreleaser().
			Check(ctx)
}
@function
async def example() -> str:
	return await (
		dag.goreleaser()
		.check()
	)
@func()
async example(): Promise<string> {
	return dag
		.goreleaser()
		.check()
}

release() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
autoSnapshotBoolean false

Automatically sets –snapshot if the repository is dirty

cleanBoolean false

Removes the ‘dist’ directory

configString -

Load configuration from file

draftBoolean false

Whether to set the release to draft. Overrides release.draft in the configuration file

failFastBoolean false

Whether to abort the release publishing on the first error

parallelismString -

Amount tasks to run concurrently (default: number of CPUs)

releaseFooterBoolean false

Load custom release notes footer from a markdown file

releaseFooterTmplBoolean false

Load custom release notes footer from a templated markdown file (overrides –release-footer)

releaseHeaderBoolean false

Load custom release notes header from a markdown file

releaseHeaderTmplBoolean false

Load custom release notes header from a templated markdown file (overrides –release-header)

releaseNotesBoolean false

Load custom release notes from a markdown file (will skip GoReleaser changelog generation)

releaseNotesTmplBoolean false

Load custom release notes from a templated markdown file (overrides –release-notes)

skipString -

Skip the given options (valid options are: before, post-hooks, pre-hooks, validate)

snapshotBoolean false

Skip the given options (valid options are announce, archive, aur, aur-source, before, chocolatey, docker, flatpak, homebrew, ko, makeself, mcp, nfpm, nix, notarize, publish, sbom, scoop, sign, snapcraft, srpm, validate, winget)

timeoutString "1h0m0s"

Timeout to the entire release process

verboseOutputBoolean false

Enable verbose mode

Example
dagger -m github.com/juli3nk/daggerverse/goreleaser@ebb8d64ed1c13379607c3d1725bd3ff5bf62f54f call \
 release
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Goreleaser().
			Release(ctx)
}
@function
async def example() -> str:
	return await (
		dag.goreleaser()
		.release()
	)
@func()
async example(): Promise<string> {
	return dag
		.goreleaser()
		.release()
}