From d754860ab399ac82e00f53ebc7a313abd95e18dc Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 30 Jun 2023 11:49:01 +0200 Subject: [PATCH] ci: fix var --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 407740e..926544b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,7 +31,7 @@ steps: --architecture all \ --description "sanoid deb package" \ --url "https://git.mgrote.net/mg/sanoid-deb" \ - -p sanoid_$${VERSION}.deb \ + -p sanoid_$(echo $version).deb \ -v $(echo $version) \ sanoid=/usr/bin/sanoid \ syncoid=/usr/bin/syncoid \ @@ -48,4 +48,4 @@ steps: from_secret: httpd-api-server-token commands: - | - curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$${VERSION}.deb" http://docker10.grote.lan:5040/upload + curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$(echo $version).deb" http://docker10.grote.lan:5040/upload