Fix bug in 9.2.0.2

* Add code I forgot for machine_arch for Linux
* Add Makefile to make making releases easier
This commit is contained in:
Michael Erdely 2025-01-11 14:45:28 -05:00
parent 53e0e8b8f0
commit cb7f7785c8
Signed by: mike
SSH key fingerprint: SHA256:ukbnfrRMaRYlBZXENtBTyO2jLnql5AA5m+SzZCfYQe0
6 changed files with 22 additions and 6 deletions

View file

@ -1,9 +1,16 @@
TEMP_DIR := $(shell mktemp -d)
WORK_DIR := $(TEMP_DIR)/TA-unix
TAR_FILE := ./ta-for-unix-and-linux-`head -n1 VERSION`.tgz
VERSION := $(shell head -n1 VERSION)
TAR_FILE := ./ta-for-unix-and-linux-$(VERSION).tgz
all: release
updateversion:
ifndef NEWVERSION
$(error NEWVERSION is not specified. Usage make NEWVERSION=<newversion> updateversion)
endif
sed -ri "s/$(VERSION)/$(NEWVERSION)/g" app.manifest default/app.conf VERSION
release:
mkdir -p $(WORK_DIR)
cp -R . $(WORK_DIR)/