forked from RussianInvestments/invest-python
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (29 loc) · 797 Bytes
/
Copy pathbumpversion.yml
File metadata and controls
35 lines (29 loc) · 797 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
name: Bump version
on:
push:
branches: [main]
paths:
- "tinkoff/**"
- "!tinkoff/invest/__init__.py"
- "!tinkoff/invest/constants.py"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Git user
run: |
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
- name: Install python dependencies
run: make install-poetry install-bump
- name: Bump version
run: make bump-version v=$(make next-version)
- name: Push
run: |
git push
git push --tags