29 lines
678 B
Plaintext
29 lines
678 B
Plaintext
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 }}
|
|
|