This commit is contained in:
parent
3c0d136d6e
commit
8ac891d1d2
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ steps:
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- cargo clippy
|
- cargo clippy
|
||||||
- cargo build --release --target x86_64-pc-windows-gnu
|
- cargo build --release --target x86_64-pc-windows-gnu
|
||||||
|
- strip target/x86_64-pc-windows-gnu/release/cggitem_sets.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)-$(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)-$(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
|
||||||
environment:
|
environment:
|
||||||
MVN_PWD:
|
MVN_PWD:
|
||||||
|
|
Loading…
Add table
Reference in a new issue