From 2b29171edb515deee82f3703521a09f71c75a494 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Thu, 18 Jul 2013 23:56:34 +0200 Subject: [PATCH] Replace non-working github upload API. --- Makefile | 19 ++++++++++--------- doc/web/templates/default.html | 4 ++-- doc/web/wokconfig | 2 +- dosage.freecode | 4 ++-- 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index abf7737b5..6d7f4a86a 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,8 @@ ARCHIVE_SOURCE:=$(LAPPNAME)-$(VERSION).tar.gz ARCHIVE_WIN32:=$(LAPPNAME)-$(VERSION).exe GITUSER:=wummel GITREPO:=$(LAPPNAME) -WEB_META:=doc/web/app.yaml +WEBPAGE:=$(HOME)/public_html/dosage-webpage.git +WEBMETA:=doc/web/app.yaml DEBUILDDIR:=$(HOME)/projects/debian/official DEBORIGFILE:=$(DEBUILDDIR)/$(LAPPNAME)_$(VERSION).orig.tar.gz DEBPACKAGEDIR:=$(DEBUILDDIR)/$(LAPPNAME)-$(VERSION) @@ -39,17 +40,17 @@ sign: [ -f dist/$(ARCHIVE_WIN32).asc ] || gpg --detach-sign --armor dist/$(ARCHIVE_WIN32) upload: - github-upload $(GITUSER) $(GITREPO) \ - dist/$(ARCHIVE_SOURCE) dist/$(ARCHIVE_WIN32) \ - dist/$(ARCHIVE_SOURCE).asc dist/$(ARCHIVE_WIN32).asc + cp dist/$(ARCHIVE_SOURCE) dist/$(ARCHIVE_WIN32) \ + dist/$(ARCHIVE_SOURCE).asc dist/$(ARCHIVE_WIN32).asc \ + $(WEBPAGE)/dist homepage: # update metadata - @echo "version: \"$(VERSION)\"" > $(WEB_META) - @echo "name: \"$(APPNAME)\"" >> $(WEB_META) - @echo "lname: \"$(LAPPNAME)\"" >> $(WEB_META) - @echo "maintainer: \"$(MAINTAINER)\"" >> $(WEB_META) - @echo "author: \"$(AUTHOR)\"" >> $(WEB_META) + @echo "version: \"$(VERSION)\"" > $(WEBMETA) + @echo "name: \"$(APPNAME)\"" >> $(WEBMETA) + @echo "lname: \"$(LAPPNAME)\"" >> $(WEBMETA) + @echo "maintainer: \"$(MAINTAINER)\"" >> $(WEBMETA) + @echo "author: \"$(AUTHOR)\"" >> $(WEBMETA) git add doc/web/app.yaml git commit -m "Updated webpage meta info" # update documentation and release website diff --git a/doc/web/templates/default.html b/doc/web/templates/default.html index 160cd44c9..1e9dc19f2 100644 --- a/doc/web/templates/default.html +++ b/doc/web/templates/default.html @@ -39,10 +39,10 @@