-
Notifications
You must be signed in to change notification settings - Fork 43
/
bitrise.yml
51 lines (47 loc) · 1.31 KB
/
bitrise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
format_version: "11"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
workflows:
test:
steps:
- go-list: { }
- golint: { }
- errcheck: { }
- go-test: { }
create-release:
description: Creates Darwin binaries, then publishes a GitHub release
envs:
- GITHUB_TOKEN: $GIT_BOT_USER_ACCESS_TOKEN # Goreleaser expects this env var
steps:
- script:
title: Goreleaser (create binaries + publish to GH)
deps:
brew:
- name: goreleaser
inputs:
- content: |
#!/usr/bin/env bash
set -ex
goreleaser release
update-wrapper-versions:
description: Updates the versions in scripts (see README)
steps:
- script:
title: Creating release install_wrap
inputs:
- content: |-
cd ./_scripts
go run update_wrapper_versions.go
cd -
test-binary-build:
description: Tests the release build process by creating a snapshot release (without publishing)
steps:
- script:
title: Goreleaser (create snapshot binaries)
deps:
brew:
- name: goreleaser
inputs:
- content: |
#!/usr/bin/env bash
set -ex
goreleaser release --snapshot --rm-dist