PYRSS-Website/.gitea/workflows/bump2version.yaml
Corban-Lee Jones 1dc4e3f6df
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
Bump 2 Version / bumpversion (push) Failing after 44s
actions testing
2024-08-04 23:53:25 +01:00

29 lines
678 B
YAML

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 }}