Commit 6df49ef3 authored by Tobias Quathamer's avatar Tobias Quathamer

Remove alioth username handling from upload target

parent 496163ea
......@@ -28,12 +28,8 @@ sign-release: iso-codes-$(VERSION).tar.xz
.PHONY: upload
upload:
@if [[ "$(ALIOTH_USERNAME)" == "" ]]; then \
ALIOTH_USERNAME="$(USERNAME)"; \
fi
@if [[ -f "iso-codes-$(VERSION).tar.xz" ]] \
&& [[ -f "iso-codes-$(VERSION).tar.xz.sig" ]] \
&& [[ -n "$(ALIOTH_USERNAME)" ]]; then \
&& [[ -f "iso-codes-$(VERSION).tar.xz.sig" ]]; then \
scp iso-codes-$(VERSION).tar.* \
$(ALIOTH_USERNAME)@alioth.debian.org:/srv/home/groups/pkg-isocodes/htdocs/downloads; \
alioth.debian.org:/srv/home/groups/pkg-isocodes/htdocs/downloads; \
fi
......@@ -747,14 +747,10 @@ sign-release: iso-codes-$(VERSION).tar.xz
.PHONY: upload
upload:
@if [[ "$(ALIOTH_USERNAME)" == "" ]]; then \
ALIOTH_USERNAME="$(USERNAME)"; \
fi
@if [[ -f "iso-codes-$(VERSION).tar.xz" ]] \
&& [[ -f "iso-codes-$(VERSION).tar.xz.sig" ]] \
&& [[ -n "$(ALIOTH_USERNAME)" ]]; then \
&& [[ -f "iso-codes-$(VERSION).tar.xz.sig" ]]; then \
scp iso-codes-$(VERSION).tar.* \
$(ALIOTH_USERNAME)@alioth.debian.org:/srv/home/groups/pkg-isocodes/htdocs/downloads; \
alioth.debian.org:/srv/home/groups/pkg-isocodes/htdocs/downloads; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment