1 files changed, 3 insertions(+), 0 deletions(-)

M .build.yml
M .build.yml +3 -0
@@ 9,16 9,19 @@ packages:
 sources:
     - https://hg.sr.ht/~ser/gocryptkeeper
 environment:
+    PROJ: gocryptkeeper
     BNAME: gocryptkeeper-latest
 secrets:
     - 45926939-38b0-4e7f-bfa5-1a5b5786a773
     - d7d86c19-5b94-4c65-bf07-b8b30f55bd63
 tasks:
     - build: |
+	cd ${PROJ}
         T=$(hg log -r "." --template "{latesttag}\n")
         [[ $T == "" ]] && T=$(hg bookmark -l . --template '{bookmarks}-{node|short}\n')
         go build -o ${BNAME} -ldflags="-X main.Version=$T -s -w" .
     - upload: |
+	cd ${PROJ}
         Z=${BNAME}.lz
         S=${Z}.sig
         lzip ${BNAME}