Stamp version into texture_pack.conf
This commit is contained in:
parent
84ae00ff54
commit
4473577486
@ -23,13 +23,11 @@ mkdir -p "${EXPORT_DIR}"
|
||||
# Create screenshot.png from source
|
||||
screenshot_file="screenshot.tiff"
|
||||
echo "Export ${screenshot_file}..."
|
||||
#TODO: Overlay version number
|
||||
#TODO: Generate the image?
|
||||
convert "${screenshot_file}" -flatten "${EXPORT_DIR}/screenshot.png" || { echo "Failed to export ${1}"; exit 1; }
|
||||
|
||||
# Copy texture pack files
|
||||
echo "Copy text files..."
|
||||
#TODO: Assign versioning information
|
||||
copyExport "CHANGELOG.md"
|
||||
copyExport "LICENSE.txt"
|
||||
copyExport "override.txt"
|
||||
|
3
stamp.sh
3
stamp.sh
@ -14,3 +14,6 @@ convert "${EXPORT_DIR}/screenshot.png" \
|
||||
-gravity southeast -fill "#696b7f" -font "DejaVu-Serif" -annotate -1-0 "${1}"\
|
||||
-gravity southeast -fill "#b9b5c5" -font "DejaVu-Serif" -annotate 0 "${1}"\
|
||||
"${EXPORT_DIR}/screenshot.png" || { echo "Failed to stamp versioning info onto ${EXPORT_DIR}/screenshot.png"; exit 1; }
|
||||
|
||||
# Stamp the provided version number into the texture_pack.conf
|
||||
echo "release = ${1}" >> "${EXPORT_DIR}/texture_pack.conf"
|
||||
|
@ -2,4 +2,3 @@ title = RPG16
|
||||
name = rpg16
|
||||
author = Hugues Ross
|
||||
description = 16px - A simple texturepack reminiscent of classic RPGs. Currently supports Minetest Game.
|
||||
release = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user