mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-04 03:09:45 +00:00
Version checking, try 2
This commit is contained in:
parent
3ad7b40576
commit
74c96eec79
1 changed files with 8 additions and 2 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -8,10 +8,16 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Verify Version Bump
|
- name: Fetch Origin
|
||||||
run: |
|
run: |
|
||||||
|
cd $GITHUB_WORKSPACE
|
||||||
git fetch origin master
|
git fetch origin master
|
||||||
git diff --summary FETCH_HEAD version.scad | grep -q '^BOSL_VERSION'
|
|
||||||
|
- name: Verify Version Change
|
||||||
|
run: |
|
||||||
|
cd $GITHUB_WORKSPACE
|
||||||
|
verstr=$(git diff --summary FETCH_HEAD version.scad | grep '^BOSL_VERSION')
|
||||||
|
[ "$verstr" != "" ]
|
||||||
|
|
||||||
Regressions:
|
Regressions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue