|
41 | 41 | run: | |
42 | 42 | echo '#pragma once' > game/build.h |
43 | 43 | echo "static const char* appBuild = \"${{ needs.setup.outputs.version }}\";" >> game/build.h |
44 | | - echo 'gothic-linux-v${{ needs.setup.outputs.version }}' >> build/opengothic/VERSION |
| 44 | + mkdir -p build/opengothic |
| 45 | + echo 'gothic-linux-v${{ needs.setup.outputs.semver }}' >> build/opengothic/VERSION |
45 | 46 |
|
46 | 47 | - name: Configure |
47 | 48 | run: cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} |
@@ -113,7 +114,8 @@ jobs: |
113 | 114 | run: | |
114 | 115 | echo '#pragma once' > game/build.h |
115 | 116 | echo "static const char* appBuild = `"${{ needs.setup.outputs.version }}`";" >> game/build.h |
116 | | - echo 'gothic-win64-v${{ needs.setup.outputs.version }}' >> build/opengothic/VERSION |
| 117 | + mkdir -p build/opengothic |
| 118 | + echo 'gothic-win64-v${{ needs.setup.outputs.semver }}' >> build/opengothic/VERSION |
117 | 119 |
|
118 | 120 | - name: Configure |
119 | 121 | run: cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} |
@@ -151,7 +153,8 @@ jobs: |
151 | 153 | run: | |
152 | 154 | echo '#pragma once' > game/build.h |
153 | 155 | echo "static const char* appBuild = \"${{ needs.setup.outputs.version }}\";" >> game/build.h |
154 | | - echo 'gothic-osx-arm64-v${{ needs.setup.outputs.version }}' >> build/opengothic/VERSION |
| 156 | + mkdir -p build/opengothic |
| 157 | + echo 'gothic-osx-arm64-v${{ needs.setup.outputs.semver }}' >> build/opengothic/VERSION |
155 | 158 |
|
156 | 159 | - name: Configure |
157 | 160 | run: cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} |
@@ -181,7 +184,8 @@ jobs: |
181 | 184 | run: | |
182 | 185 | echo '#pragma once' > game/build.h |
183 | 186 | echo "static const char* appBuild = \"${{ needs.setup.outputs.version }}\";" >> game/build.h |
184 | | - echo 'gothic-osx-x64-v${{ needs.setup.outputs.version }}' >> build/opengothic/VERSION |
| 187 | + mkdir -p build/opengothic |
| 188 | + echo 'gothic-osx-x64-v${{ needs.setup.outputs.semver }}' >> build/opengothic/VERSION |
185 | 189 |
|
186 | 190 | - name: Configure |
187 | 191 | run: cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} |
|
0 commit comments