This commit is contained in:
parent
252ed015c3
commit
7aad5e20b9
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ steps:
|
|||
RUSTUP_HOME: c:/drone/rustup
|
||||
- name: deploy
|
||||
commands:
|
||||
- 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)-$(date +%Y%m%d%H%M%S)-msvc -F maven2.asset1=@target/release/cggitem_sets -F maven2.asset1.extension=exec
|
||||
- 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=1.0.0 -F maven2.classifier=msvc -F maven2.asset1=@target/release/cggitem_sets.exe -F maven2.asset1.extension=exec
|
||||
environment:
|
||||
MVN_PWD:
|
||||
from_secret: maven_password
|
||||
|
|
Loading…
Add table
Reference in a new issue