update to new react UI and various fixes
This commit is contained in:
12
debian/Makefile
vendored
12
debian/Makefile
vendored
@@ -21,9 +21,13 @@ build:
|
||||
export BUILD="BUILD/$(NAME)_$${VERSION}-$${RELEASE}"; \
|
||||
rm -rf ./$${BUILD}; \
|
||||
cp -r ROOT "$${BUILD}"; \
|
||||
export SED="s_Version:.*_Version: $${VERSION}-$${RELEASE}_"; \
|
||||
sed -i "$$SED" "$${BUILD}/DEBIAN/control"; \
|
||||
go build -o $${BUILD}/opt/sour.is/bin/paste \
|
||||
sed -i'.tmp' "s_Version:.*_Version: $${VERSION}-$${RELEASE}_" "$${BUILD}/DEBIAN/control"
|
||||
|
||||
export VERSION=`cat VERSION`; \
|
||||
export RELEASE=`cat RELEASE`; \
|
||||
export DATE=`date -u +%FT%TZ`; \
|
||||
export BUILD="BUILD/$(NAME)_$${VERSION}-$${RELEASE}"; \
|
||||
env GOOS=linux GOARCH=amd64 go build -v -o $${BUILD}/opt/sour.is/bin/paste \
|
||||
-ldflags "-X main.AppVersion=$${VERSION}-$${RELEASE} -X main.AppBuild=$${DATE}"\
|
||||
sour.is/x/paste; \
|
||||
dpkg -b $${BUILD}; \
|
||||
@@ -37,3 +41,5 @@ copy:
|
||||
|
||||
deploy:
|
||||
ansible $(REPO_HOST) -s -m apt -a "name=sour.is-paste update_cache=yes state=latest"
|
||||
|
||||
.PHONY: clean release build copy # deploy
|
||||
2
debian/RELEASE
vendored
2
debian/RELEASE
vendored
@@ -1 +1 @@
|
||||
12
|
||||
5
|
||||
|
||||
2
debian/VERSION
vendored
2
debian/VERSION
vendored
@@ -1 +1 @@
|
||||
2.0.0
|
||||
2.2.0
|
||||
|
||||
Reference in New Issue
Block a user