File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 2525 TAG="${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"
2626 echo "${TAG}"
2727 echo "tag=${TAG}" >> $GITHUB_OUTPUT
28+ - name : Check git tag
29+ if : startsWith(github.ref, 'refs/tags/v')
30+ run : |
31+ GIT_TAG="${GITHUB_REF#refs/tags/}"
32+ EXPECTED_TAG="v${{ steps.version.outputs.tag }}"
33+ if [[ "${GIT_TAG}" != "${EXPECTED_TAG}" ]]; then
34+ echo "Error: Git tag (${GIT_TAG}) does not match version from DMDUtil.h (v${{ steps.version.outputs.tag }})"
35+ exit 1
36+ fi
2837
2938 build :
3039 name : Build libdmdutil-${{ matrix.platform }}-${{ matrix.arch }}
@@ -119,11 +128,11 @@ jobs:
119128 cp build/libdmdutil.a tmp
120129 cp build/libdmdutil.so tmp
121130 fi
122- cp -r test tmp/
131+ cp -r test tmp/
123132 cd tmp
124133 tar -czvf ../${ARTIFACT_PATH} *
125134 fi
126- echo "artifact_path=${ARTIFACT_PATH}" >> $GITHUB_OUTPUT
135+ echo "artifact_path=${ARTIFACT_PATH}" >> $GITHUB_OUTPUT
127136 - name : Upload artifacts
128137 uses : actions/upload-artifact@v4
129138 with :
Original file line number Diff line number Diff line change 22
33#define DMDUTIL_VERSION_MAJOR 0 // X Digits
44#define DMDUTIL_VERSION_MINOR 9 // Max 2 Digits
5- #define DMDUTIL_VERSION_PATCH 0 // Max 2 Digits
5+ #define DMDUTIL_VERSION_PATCH 1 // Max 2 Digits
66
77#define _DMDUTIL_STR (x ) #x
88#define DMDUTIL_STR (x ) _DMDUTIL_STR(x)
Original file line number Diff line number Diff line change 33set -e
44
55LIBZEDMD_SHA=154772800e8f36378c629f066bfee563862728ac
6- LIBSERUM_SHA=6840e02d836255308f58a1586d8cb53d9754a0e8
6+ LIBSERUM_SHA=9f86be9ac4c4dc8877a412616ac5750cf54011a1
77LIBPUPDMD_SHA=124f45e5ddd59ceb339591de88fcca72f8c54612
88
99if [ -z " ${BUILD_TYPE} " ]; then
You can’t perform that action at this time.
0 commit comments