Automatically update macOS build version at build time.
This commit is contained in:
parent
68ba1997fc
commit
6e3ae875e7
8 changed files with 33 additions and 14 deletions
|
|
@ -7,7 +7,7 @@
|
|||
<key>CFBundleExecutable</key>
|
||||
<string>tuxpaint</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>0.9.29, Copyright 2002-2022, Tux Paint Development Team</string>
|
||||
<string>${VER_VERSION}, Copyright 2002-$(date +%Y), Tux Paint Development Team</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>tuxpaint.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
|
|
@ -19,10 +19,10 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.9.29</string>
|
||||
<string>${VER_VERSION}</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>TXPT</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2022-06-14</string>
|
||||
<string>$(date +%Y-%m-%d)</string>
|
||||
</dict>
|
||||
</plist>
|
||||
13
macos/template.sh
Executable file
13
macos/template.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Process a document containing shell escape sequences.
|
||||
#
|
||||
# Usage: template.sh document.shdoc
|
||||
#
|
||||
|
||||
bash <<<"cat <<__SHDOC_TEMPLATE__$$
|
||||
$(cat "$@")
|
||||
__SHDOC_TEMPLATE__$$"
|
||||
|
||||
# vim:ft=bash
|
||||
Loading…
Add table
Add a link
Reference in a new issue