-
Notifications
You must be signed in to change notification settings - Fork 0
/
releez.cli.yml
53 lines (53 loc) · 1.4 KB
/
releez.cli.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
52
53
version: 1.0.0
checklist:
- name: Checkout develop and sync with remote
type: auto
run:
- git checkout develop
- git push
- name: Start a new release branch
type: auto
run:
- git flow release start "v${VERSION}"
- name: Make sure code is formatted
type: auto
run:
- cargo fmt
- name: Bump version
type: manual
instructions:
- Please update version with ${VERSION} in maui-cli/Cargo.toml file.
- name: Commit changes
type: auto
run:
- git add --all && git commit -m "Bump version"
- name: Finish release branch
type: auto
run:
- git flow release finish -s "v${VERSION}"
- name: Push branches and tags to Github
type: auto
run:
- git checkout master
- git push origin master
- git push origin develop
- git push --tags
- name: Edit tag on Github
type: manual
instructions:
- Tag is pushed to Github(https://github.com/rousan/maui/releases). Edit it there and make it a release.
- name: Make a build
type: auto
run:
- rm -rf dist
- tusk build --version "${VERSION}"
- name: Upload artifacts
type: auto
run:
- tusk upload-artifacts --version "${VERSION}"
- name: Publsih CLI to crates.io
type: auto
confirm: Are you sure to publish the maui CLI to crates.io?
run:
- cd maui-cli && cargo publish && cd ..
- git checkout develop