actions testing
This commit is contained in:
parent
36f611b7c1
commit
1dc4e3f6df
28
.gitea/workflows/bump2version.yaml
Normal file
28
.gitea/workflows/bump2version.yaml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
name: Bump 2 Version
|
||||||
|
run-name: ${{ gitea.actor }} is bumping the version
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
bumpversion:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: '3.11'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install bump2version
|
||||||
|
|
||||||
|
- name: Bump version
|
||||||
|
run: |
|
||||||
|
bump2version patch # You can change 'patch' to 'minor' or 'major' depending on your versioning needs
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user