We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90f6a59 commit 32c1085Copy full SHA for 32c1085
.github/workflows/driver.common.github_release.yml
@@ -9,8 +9,21 @@ on:
9
default: ""
10
11
jobs:
12
+ check-properties-version:
13
+ name: Check library properties version
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - run: |
18
+ PROP_VERSION=grep "version" library.properties | cut -d'=' -f2
19
+ if [ "${{ github.ref_name }}" != "$PROP_VERSION" ]; then
20
+ echo "::error::Version mismatch! library.properties version $PROP_VERSION does not match tag ${{ github.ref_name }}"
21
+ exit 1
22
+ fi
23
+
24
create-github-release:
25
runs-on: ubuntu-latest
26
+ needs: check-properties
27
permissions:
28
contents: write
29
steps:
0 commit comments