2023-11-29 06:12:22 +00:00
|
|
|
name: VersionBump
|
|
|
|
on:
|
2023-11-29 07:30:34 +00:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2023-11-29 06:12:22 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-11-29 06:20:44 +00:00
|
|
|
VersionBumpJob:
|
2023-11-29 06:12:22 +00:00
|
|
|
runs-on: ubuntu-latest
|
2023-11-29 07:30:34 +00:00
|
|
|
|
2023-11-29 06:12:22 +00:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
ref: ${{ github.head_ref }}
|
|
|
|
|
|
|
|
- name: Bump Version
|
|
|
|
run: ./scripts/increment_version.sh
|
|
|
|
|
|
|
|
- name: Checkin
|
|
|
|
uses: stefanzweifel/git-auto-commit-action@v5
|
|
|
|
with:
|
|
|
|
commit_message: Version Bump
|
|
|
|
file_pattern: version.scad
|
|
|
|
|