Skip to content

Commit

Permalink
Create push_to_main.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Snigir <[email protected]>
  • Loading branch information
l0uden authored Feb 7, 2024
1 parent d467cda commit 6b77144
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/push_to_main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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

0 comments on commit 6b77144

Please sign in to comment.