mirror of
https://github.com/Luzifer/github-publish.git
synced 2024-11-09 23:00:14 +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)
|
PWD=$(pwd)
|
||||||
godir=${PWD/${GOPATH}\/src\/}
|
godir=${PWD/${GOPATH}\/src\/}
|
||||||
REPO=${REPO:-$(echo ${godir} | cut -d '/' -f 3)}
|
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"}
|
ARCHS=${ARCHS:-"linux/amd64 linux/arm darwin/amd64 windows/amd64"}
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
Loading…
Reference in a new issue