goreleaser
No long description provided.
Installation
dagger install github.com/juli3nk/daggerverse/goreleaser@252149c8dfc38fe76ef2f916958e1217e0ac6678Entrypoint
Return Type
Goreleaser !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory | - | No description provided |
Example
dagger -m github.com/juli3nk/daggerverse/goreleaser@252149c8dfc38fe76ef2f916958e1217e0ac6678 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@252149c8dfc38fe76ef2f916958e1217e0ac6678 call \
worktreefunc (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
| Name | Type | Default Value | Description |
|---|---|---|---|
| autoSnapshot | Boolean | false | Automatically sets –snapshot if the repository is dirty |
| clean | Boolean | false | Removes the ‘dist’ directory before building |
| config | String | - | Load configuration from file |
| id | String | - | Builds only the specified build ids |
| output | String | - | 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) |
| parallelism | String | - | Number of tasks to run concurrently (default: number of CPUs) |
| singleTarget | Boolean | false | Builds only for current GOOS and GOARCH, regardless of what’s set in the configuration file |
| skip | String | - | Skip the given options (valid options are: before, post-hooks, pre-hooks, validate) |
| snapshot | Boolean | false | Generate an unversioned snapshot build, skipping all validations |
| timeout | String | "1h0m0s" | Timeout to the entire build process |
| verboseOutput | Boolean | false | Enable verbose mode |
Example
dagger -m github.com/juli3nk/daggerverse/goreleaser@252149c8dfc38fe76ef2f916958e1217e0ac6678 call \
buildfunc (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
| Name | Type | Default Value | Description |
|---|---|---|---|
| config | String | - | No description provided |
| quietly | Boolean | false | No description provided |
| verboseOutput | Boolean | false | No description provided |
Example
dagger -m github.com/juli3nk/daggerverse/goreleaser@252149c8dfc38fe76ef2f916958e1217e0ac6678 call \
checkfunc (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
| Name | Type | Default Value | Description |
|---|---|---|---|
| autoSnapshot | Boolean | false | Automatically sets –snapshot if the repository is dirty |
| clean | Boolean | false | Removes the ‘dist’ directory |
| config | String | - | Load configuration from file |
| draft | Boolean | false | Whether to set the release to draft. Overrides release.draft in the configuration file |
| failFast | Boolean | false | Whether to abort the release publishing on the first error |
| parallelism | String | - | Amount tasks to run concurrently (default: number of CPUs) |
| releaseFooter | Boolean | false | Load custom release notes footer from a markdown file |
| releaseFooterTmpl | Boolean | false | Load custom release notes footer from a templated markdown file (overrides –release-footer) |
| releaseHeader | Boolean | false | Load custom release notes header from a markdown file |
| releaseHeaderTmpl | Boolean | false | Load custom release notes header from a templated markdown file (overrides –release-header) |
| releaseNotes | Boolean | false | Load custom release notes from a markdown file (will skip GoReleaser changelog generation) |
| releaseNotesTmpl | Boolean | false | Load custom release notes from a templated markdown file (overrides –release-notes) |
| skip | String | - | Skip the given options (valid options are: before, post-hooks, pre-hooks, validate) |
| snapshot | Boolean | 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) |
| timeout | String | "1h0m0s" | Timeout to the entire release process |
| verboseOutput | Boolean | false | Enable verbose mode |
Example
dagger -m github.com/juli3nk/daggerverse/goreleaser@252149c8dfc38fe76ef2f916958e1217e0ac6678 call \
releasefunc (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()
}