Skip to content

Auto update version to 2023.8.8.1 #61

Auto update version to 2023.8.8.1

Auto update version to 2023.8.8.1 #61

Workflow file for this run

name: Versioning
on:
push:
branches: [ master ]
jobs:
versioning:
if: "!contains(github.event.head_commit.message, 'Auto update version')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install PyYAML
- name: Update version
id: new-version
run: python .github/workflows/update_version.py
- name: Auto update version
run: |
git config --global user.email "[email protected]"
git config --global user.name "Version-BOT"
git remote set-url origin ${{ secrets.version_bot_ssh }}
git add versioning.yml
git commit -m "Auto update version to ${{ steps.new-version.outputs.new_version }}"
git push origin HEAD:master