Create push_to_main.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push to main | |
jobs: | |
version-bump: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install hatch | |
- name: Push bumped version to main | |
run: | | |
cd vizro-core | |
hatch version patch,dev | |
hatch run changelog:add | |
hatch run schema | |
git config user.email "[email protected]" | |
git config user.name "Vizro Team" | |
git add -A | |
git commit -m "version bump after vizro" | |
git push -f origin main |