From bc965d73162b53fab595e7a496f8dae84a35170e Mon Sep 17 00:00:00 2001 From: nyyu Date: Sun, 28 Mar 2021 18:49:39 +0200 Subject: [PATCH] Fix missing extension --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index a80a15c..c558174 100644 --- a/.drone.yml +++ b/.drone.yml @@ -46,7 +46,7 @@ steps: image: alpine:latest commands: - apk add --no-cache curl - - curl -u drone:$MVN_PWD -X POST 'https://nexus.nyyu.dev/service/rest/v1/components?repository=maven-releases' -F maven2.groupId=dev.nyyu -F maven2.artifactId=cggitem_sets -F maven2.version=$(awk -F ' = ' '$1 ~ /version/ { gsub(/["]/, "", $2); printf("%s",$2) }' Cargo.toml) -F maven2.asset1=@target/release/cggitem_sets -F maven2.asset1.classifier=linux-x64 + - curl -u drone:$MVN_PWD -X POST 'https://nexus.nyyu.dev/service/rest/v1/components?repository=maven-releases' -F maven2.groupId=dev.nyyu -F maven2.artifactId=cggitem_sets -F maven2.version=$(awk -F ' = ' '$1 ~ /version/ { gsub(/["]/, "", $2); printf("%s",$2) }' Cargo.toml) -F maven2.asset1=@target/release/cggitem_sets -F maven2.asset1.extension=elf -F maven2.asset1.classifier=linux-x64 environment: MVN_PWD: from_secret: maven_password