This commit is contained in:
parent
7aad5e20b9
commit
81066e7670
@ -20,7 +20,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)-$(date +%Y%m%d%H%M%S) -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.classifier=mingw -F maven2.asset1=@target/x86_64-pc-windows-gnu/release/cggitem_sets.exe -F maven2.asset1.extension=exe
|
||||
environment:
|
||||
MVN_PWD:
|
||||
from_secret: maven_password
|
||||
@ -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)-$(date +%Y%m%d%H%M%S) -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.classifier=linux-x64 -F maven2.asset1=@target/release/cggitem_sets -F maven2.asset1.extension=elf
|
||||
environment:
|
||||
MVN_PWD:
|
||||
from_secret: maven_password
|
||||
@ -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=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.classifier=msvc -F maven2.asset1=@target/release/cggitem_sets.exe -F maven2.asset1.extension=exec
|
||||
environment:
|
||||
MVN_PWD:
|
||||
from_secret: maven_password
|
||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -43,7 +43,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||
|
||||
[[package]]
|
||||
name = "cggitem_sets"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"indexmap",
|
||||
"lazy_static",
|
||||
|
@ -2,7 +2,7 @@
|
||||
authors = ["nyyu <mail@nyyu.dev>"]
|
||||
edition = "2018"
|
||||
name = "cggitem_sets"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
|
||||
[dependencies]
|
||||
indexmap = {version = "1.6", features = ["serde-1", "rayon"]}
|
||||
|
Loading…
Reference in New Issue
Block a user