-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbitbucket-pipelines.yml
39 lines (36 loc) · 1.05 KB
/
bitbucket-pipelines.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
image:
name: python:3.7.6-slim-buster
pipelines:
default:
- step:
- name: Test version file not changed
- script:
- git diff --exit-code VERSION
custom:
release-inc-patch:
- step:
caches:
- pip
name: Release current version and increment minor version
script:
- apt-get update && apt-get install -y git
- pip install fire==0.2.1
- ./scripts/release.sh patch
release-inc-minor:
- step:
caches:
- pip
name: Release current version and increment minor version
script:
- apt-get update && apt-get install -y git
- pip install fire==0.2.1
- ./scripts/release.sh minor
release-inc-major:
- step:
caches:
- pip
name: Release current version and increment major version
script:
- apt-get update && apt-get install -y git
- pip install fire==0.2.1
- ./scripts/release.sh major