Dagger
Search

github-release

No long description provided.

Installation

dagger install github.com/kpenfound/jpadams-github-release@c6081b3210407d5ea49fce8874c5104afa8373cb

Entrypoint

Return Type
GithubRelease
Example
dagger -m github.com/kpenfound/jpadams-github-release@c6081b3210407d5ea49fce8874c5104afa8373cb call \
func (m *myModule) example() *GithubRelease  {
	return dag.
			GithubRelease()
}
@function
def example() -> dag.GithubRelease:
	return (
		dag.github_release()
	)
@func()
example(): GithubRelease {
	return dag
		.githubRelease()
}

Types

GithubRelease 🔗

create() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
repoString !-No description provided
tagString !-No description provided
titleString !-No description provided
tokenSecret !-No description provided
assetsDirectory -No description provided
notesString -No description provided
draftBoolean -No description provided
latestBoolean -No description provided
prereleaseBoolean -No description provided
Example
dagger -m github.com/kpenfound/jpadams-github-release@c6081b3210407d5ea49fce8874c5104afa8373cb call \
 create --repo string --tag string --title string --token env:MYSECRET
func (m *myModule) example(ctx context.Context, repo string, tag string, title string, token *Secret) string  {
	return dag.
			GithubRelease().
			Create(ctx, repo, tag, title, token)
}
@function
async def example(repo: str, tag: str, title: str, token: dagger.Secret) -> str:
	return await (
		dag.github_release()
		.create(repo, tag, title, token)
	)
@func()
async example(repo: string, tag: string, title: string, token: Secret): Promise<string> {
	return dag
		.githubRelease()
		.create(repo, tag, title, token)
}