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:
parent
c7ff014626
commit
4fbad14b35
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
|||
c31f7da8ff0af6484476905148c3eac68e828f94de9f4d4fa3fa98ca3f1341c5 golang.sh
|
||||
9e27d28a003be044be2ac58c3ef1d5d125c0ad1c4c1854e269a71e988f9a26b3 golang.sh
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue