Upload GitHub Release Assets
- 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Upload GitHub Release Assets
- Updated on 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.
Upload GitHub Release Assets
Uploads files as attachments to a GitHub release.
Script usage:
GitHub::Upload-ReleaseAssets( Tag: <text>, Include: <@(text)>, [Exclude: <@(text)>], [Directory: <text>], [ContentType: <text>], [From: <text>], [UserName: <text>], [Password: <SecureString>], [Organization: <text>], [Repository: <text>], [ApiUrl: <text>] );
Arguments:
Name | Format | Script Usage | Usage Notes |
---|---|---|---|
☆ Tag | text | Tag | The tag associated with the release. The release must already exist. This argument is required. |
☆ Include | @(text) | Include | See KB#1119 to learn more about masking syntax. This argument is required. |
Exclude | @(text) | Exclude | See KB#1119 to learn more about masking syntax. |
Directory | text | Directory | |
Content type | text | ContentType | The content type of the assets. For a list of acceptable types, see the IANA list of media types. |
From GitHub resource | text | From | |
User name | text | UserName | |
Password | SecureString | Password | |
Organization name | text | Organization | |
Repository name | text | Repository | |
API URL | text | ApiUrl | Use URL from Github resource. |
Was this article helpful?