update to new react UI and various fixes

This commit is contained in:
Jon Lundy
2018-03-13 16:25:18 -06:00
parent 1dcd0f73cf
commit 0a6fa4bc53
14 changed files with 98 additions and 82 deletions

12
debian/Makefile vendored
View File

@@ -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
View File

@@ -1 +1 @@
12
5

2
debian/VERSION vendored
View File

@@ -1 +1 @@
2.0.0
2.2.0