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:
parent
53e0e8b8f0
commit
cb7f7785c8
6 changed files with 22 additions and 6 deletions
9
Makefile
9
Makefile
|
@ -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)/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue