1
0
Fork 0
mirror of https://github.com/Luzifer/github-publish.git synced 2024-12-29 22:31:21 +00:00

Fix: Use correct user element in path

This commit is contained in:
Knut Ahlers 2016-11-21 20:27:58 +01:00
parent c7ff014626
commit 4fbad14b35
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
c31f7da8ff0af6484476905148c3eac68e828f94de9f4d4fa3fa98ca3f1341c5 golang.sh
9e27d28a003be044be2ac58c3ef1d5d125c0ad1c4c1854e269a71e988f9a26b3 golang.sh

View file

@ -7,7 +7,7 @@ VERSION=$(git describe --tags --exact-match)
PWD=$(pwd)
godir=${PWD/${GOPATH}\/src\/}
REPO=${REPO:-$(echo ${godir} | cut -d '/' -f 3)}
USER=${USER:-$(echo ${godir} | cut -d '/' -f 3)}
USER=${USER:-$(echo ${godir} | cut -d '/' -f 2)}
ARCHS=${ARCHS:-"linux/amd64 linux/arm darwin/amd64 windows/amd64"}
set -e