Skip to content

Merge pull request #54 from akadouri/virginia #5

Merge pull request #54 from akadouri/virginia

Merge pull request #54 from akadouri/virginia #5

Workflow file for this run

name: Version Bump
on:
push:
branches:
- main # Assuming version bumps happen on pushes to 'main'
jobs:
bump-version:
if: false
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Ensures history is available for versioning
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
# Install any dependencies you need for versioning script
# pip install ...
- name: Bump Version
run: |
# Script to bump version in pyproject.toml
# E.g., using Python to read, increment, and write back the version
python path/to/version_bump_script.py
- name: Commit and Push
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add pyproject.toml
git commit -m "Increment version"
git push