This commit is contained in:
parent
81066e7670
commit
fb38d2f237
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ steps:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache curl
|
- 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.classifier=mingw -F maven2.asset1=@target/x86_64-pc-windows-gnu/release/cggitem_sets.exe -F maven2.asset1.extension=exe
|
- 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/x86_64-pc-windows-gnu/release/cggitem_sets.exe -F maven2.asset1.extension=exe -F maven2.asset1.classifier=mingw-x64
|
||||||
environment:
|
environment:
|
||||||
MVN_PWD:
|
MVN_PWD:
|
||||||
from_secret: maven_password
|
from_secret: maven_password
|
||||||
|
@ -46,7 +46,7 @@ steps:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache curl
|
- 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.classifier=linux-x64 -F maven2.asset1=@target/release/cggitem_sets -F maven2.asset1.extension=elf
|
- 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
|
||||||
environment:
|
environment:
|
||||||
MVN_PWD:
|
MVN_PWD:
|
||||||
from_secret: maven_password
|
from_secret: maven_password
|
||||||
|
@ -74,7 +74,7 @@ steps:
|
||||||
RUSTUP_HOME: c:/drone/rustup
|
RUSTUP_HOME: c:/drone/rustup
|
||||||
- name: deploy
|
- name: deploy
|
||||||
commands:
|
commands:
|
||||||
- curl.exe -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=1.0.0 -F maven2.classifier=msvc -F maven2.asset1=@target/release/cggitem_sets.exe -F maven2.asset1.extension=exec
|
- curl.exe -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=1.0.0 -F maven2.asset1=@target/release/cggitem_sets.exe -F maven2.asset1.extension=exe -F maven2.asset1.classifier=msvc-x64
|
||||||
environment:
|
environment:
|
||||||
MVN_PWD:
|
MVN_PWD:
|
||||||
from_secret: maven_password
|
from_secret: maven_password
|
||||||
|
|
Loading…
Add table
Reference in a new issue