Dagger
Search

release

No long description provided.

Installation

dagger install github.com/frantjc/daggerverse/release@aaac84bef0a3b1eee3e0a8a171affae759fc18fa

Entrypoint

Return Type
Release !
Arguments
NameTypeDefault ValueDescription
srcGitRef !-No description provided
Example
dagger -m github.com/frantjc/daggerverse/release@aaac84bef0a3b1eee3e0a8a171affae759fc18fa call \
func (m *MyModule) Example(src *dagger.GitRef) *dagger.Release  {
	return dag.
			Release(src)
}
@function
def example(src: dagger.GitRef) -> dagger.Release:
	return (
		dag.release(src)
	)
@func()
example(src: GitRef): Release {
	return dag
		.release(src)
}

Types

Release 🔗

create() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
githubTokenSecret !-No description provided
githubRepoString !-No description provided
nameString !-No description provided
cgoBoolean -No description provided
goos[String ! ] !["linux","darwin"]No description provided
goarch[String ! ] !["amd64","arm64"]No description provided
brewBoolean -No description provided
Example
dagger -m github.com/frantjc/daggerverse/release@aaac84bef0a3b1eee3e0a8a171affae759fc18fa call \
 create --github-token env:MYSECRET --github-repo string --name string --goos string1 --goos string2 --goarch string1 --goarch string2
func (m *MyModule) Example(ctx context.Context, src *dagger.GitRef, githubToken *dagger.Secret, githubRepo string, name string, goos []string, goarch []string)   {
	return dag.
			Release(src).
			Create(ctx, githubToken, githubRepo, name, goos, goarch)
}
@function
async def example(src: dagger.GitRef, github_token: dagger.Secret, github_repo: str, name: str, goos: List[str], goarch: List[str]) -> None:
	return await (
		dag.release(src)
		.create(github_token, github_repo, name, goos, goarch)
	)
@func()
async example(src: GitRef, githubToken: Secret, githubRepo: string, name: string, goos: string[], goarch: string[]): Promise<void> {
	return dag
		.release(src)
		.create(githubToken, githubRepo, name, goos, goarch)
}