mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +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
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Verify Version Bump
|
||||
- name: Fetch Origin
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE
|
||||
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:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue