Skip to content

Commit ac994e7

Browse files
authored
Add default version number to make the template compile out of the box. (#40)
1 parent 0aed432 commit ac994e7

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,6 @@ jobs:
2727
with:
2828
python-version: 3.8
2929

30-
- name: Set version number
31-
shell: bash
32-
run: |
33-
if jq -e '.version != "changeme"' config.json; then
34-
echo 'The ".version" field of "config.json" must be the invalid placeholder "changeme"' >&2
35-
exit 1
36-
fi
37-
jq '.version = "1"' config.json > config.json.new
38-
rm config.json
39-
mv config.json.new config.json
40-
4130
- name: Setup Xcode
4231
if: runner.os == 'macOS'
4332
run: sudo xcode-select -s /Applications/Xcode_14.2.app

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"languages": [
55
"INT"
66
],
7-
"version": "changeme",
7+
"version": "0.0.0",
88
"copyright": {
99
"name": "Graphisoft SE",
1010
"year": "1984-%Y"

0 commit comments

Comments
 (0)