mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 01:38:21 +01:00
fix ar generation problem: with new version format
This commit is contained in:
parent
09e12437a8
commit
d08b33a0b9
5
Makefile
5
Makefile
@ -8,7 +8,8 @@ TSC=./node_modules/typescript/bin/tsc
|
|||||||
UGLIFYJS=./node_modules/terser/bin/terser
|
UGLIFYJS=./node_modules/terser/bin/terser
|
||||||
UGLIFYCSS=./node_modules/uglifycss/uglifycss
|
UGLIFYCSS=./node_modules/uglifycss/uglifycss
|
||||||
|
|
||||||
VERSION=1.2.1-b
|
VERSION=1.2.1
|
||||||
|
BRANCH = b
|
||||||
BUILDID=$(shell git rev-parse --short HEAD)
|
BUILDID=$(shell git rev-parse --short HEAD)
|
||||||
|
|
||||||
GSED=sed
|
GSED=sed
|
||||||
@ -118,7 +119,7 @@ build_javascripts: ts
|
|||||||
(cat "$${f}"; echo) >> dist/antos.js;\
|
(cat "$${f}"; echo) >> dist/antos.js;\
|
||||||
rm "$${f}";\
|
rm "$${f}";\
|
||||||
done
|
done
|
||||||
echo 'OS.VERSION.version_string = "$(VERSION)-$(BUILDID)";' >> dist/antos.js
|
echo 'OS.VERSION.version_string = "$(VERSION)-$(BRANCH)-$(BUILDID)";' >> dist/antos.js
|
||||||
cp dist/antos.js $(BUILDDIR)/scripts/
|
cp dist/antos.js $(BUILDDIR)/scripts/
|
||||||
echo "if(exports){ exports.__esModule = true;exports.OS = OS; }" >> dist/antos.js
|
echo "if(exports){ exports.__esModule = true;exports.OS = OS; }" >> dist/antos.js
|
||||||
rm -r dist/core
|
rm -r dist/core
|
||||||
|
@ -1 +1 @@
|
|||||||
1.2.1-b-da5bbda
|
1.2.1-b
|
Loading…
Reference in New Issue
Block a user