Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mataku/go-bitrise
Bitrise API client for golang
https://github.com/mataku/go-bitrise
Last synced: 12 days ago
JSON representation
Bitrise API client for golang
- Host: GitHub
- URL: https://github.com/mataku/go-bitrise
- Owner: mataku
- Created: 2019-03-13T11:49:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-17T14:19:24.000Z (almost 6 years ago)
- Last Synced: 2024-12-24T00:38:49.551Z (12 days ago)
- Language: Go
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-bitrise
(WIP)
## Usage
### Create a client with your bitrise app slug
```go
var appSlug = "your_bitrise_app_slug"
client := client.NewClient(appSlug)
```### Trigger a build
```go
// hook_info
hookInfo := bitrise.HookInfo {
BuildTriggerToken: your_bitrise_build_trigger_token
}// build_params
buildParams := bitrise.BuildParams {
Branch: "master",
WorkflowId: "deploy",
Tag: "v1.0.0"
}response, err := client.TriggerBuild(hookInfo, buildParams)
```