forked from ArmaForces/ModsSettings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhemtt.toml
35 lines (30 loc) · 830 Bytes
/
hemtt.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name = "ArmaForces Mods Settings"
prefix = "afms"
author = "ArmaForces"
files = [
"LICENSE",
"mod.cpp",
"README.md"
]
exclude = ["*.psd", "*.png", "*.tga"]
modname = "armaforces_mods_settings"
keyname = "armaforces_mods_settings_{{version}}"
signame = "armaforces_mods_settings_{{version}}"
releasebuild = [
"!Set_version",
"@zip",
]
# HEMTT >= 0.7, this version has issues with Signing on linux so we're staying on 0.6 for now.
#[header_exts]
#version = "{{git \"id 8\"}}"
headerexts = [
"version={{git \"id 8\"}}"
]
[scripts.Set_version]
steps_windows = [
"powershell ./tools/Set-Version.ps1 {{version}} '@armaforces_mods_settings'"
]
steps_linux = [
"sed -i 's/0.0.0/{{version}}/' ./releases/{{version}}/@armaforces_mods_settings/mod.cpp"
]
# show_output = true