-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.cnb.yml
More file actions
38 lines (37 loc) · 889 Bytes
/
.cnb.yml
File metadata and controls
38 lines (37 loc) · 889 Bytes
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
# .cnb.yml
$:
vscode:
- runner:
cpus: 4
docker:
build: .ide/Dockerfile
services:
- vscode
- docker
stages:
- name: go deps
script: go mod tidy
v1.0.*:
tag_push:
- docker:
build: .ide/Dockerfile
stages:
- name: changelog
image: cnbcool/changelog
exports:
latestChangeLog: LATEST_CHANGE_LOG
- name: create release
type: git:release
options:
description: ${LATEST_CHANGE_LOG}
- name: build
script:
- chmod +x build.sh
- ./build.sh
- name: release 上传附件
image: cnbcool/attachments:latest
settings:
attachments:
- build/*.exe
- build/mcp-alapi-cn-*-linux-*
- build/mcp-alapi-cn-*-darwin-*