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
Name | Type | Default Value | Description |
---|---|---|---|
repo | String ! | - | No description provided |
tag | String ! | - | No description provided |
title | String ! | - | No description provided |
token | Secret ! | - | No description provided |
assets | Directory | - | No description provided |
notes | String | - | No description provided |
draft | Boolean | - | No description provided |
latest | Boolean | - | No description provided |
prerelease | Boolean | - | 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)
}