Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)
```