๐Ÿ“ฆ mataku / go-bitrise

Bitrise API client for golang

โ˜… 1 stars โ‘‚ 0 forks ๐Ÿ‘ 1 watching
๐Ÿ“ฅ Clone https://github.com/mataku/go-bitrise.git
HTTPS git clone https://github.com/mataku/go-bitrise.git
SSH git clone git@github.com:mataku/go-bitrise.git
CLI gh repo clone mataku/go-bitrise
Takuma Homma Takuma Homma Add TriggerBuild test prototype 6cc3b9c 6 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ .circleci
๐Ÿ“ bitrise
๐Ÿ“„ README.md
๐Ÿ“„ README.md

go-bitrise

(WIP)

Usage

Create a client with your bitrise app slug

var appSlug = "your_bitrise_app_slug"
client := client.NewClient(appSlug)

Trigger a build

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