Increment Version #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: Increment Version | |
on: | |
workflow_dispatch: | |
inputs: | |
name: | |
description: 'description' | |
required: false | |
default: '' | |
jobs: | |
increment-version: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Prepare git branch | |
run: | | |
git checkout dev | |
git pull | |
- name: Increment version | |
run: python .github/scripts/increment_version.py --path vqt/__init__.py | |
- name: Commit changes | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "Richard Hakim" | |
git add vqt/__init__.py | |
git commit -m "Increment version number" | |
git push |