Skip to content

Commit

Permalink
Task order for windows publish, linux task names
Browse files Browse the repository at this point in the history
  • Loading branch information
ionspin committed Jul 15, 2024
1 parent 08e3114 commit 83d308e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
12 changes: 12 additions & 0 deletions bignum/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,18 @@ tasks {
this.mustRunAfter("signWatchosSimulatorArm64Publication")
}
}

if (hostOs == HostOs.WINDOWS) {
if (this.name.startsWith("publish")) {
this.mustRunAfter("signMingwX64Publication")
}
if (this.name.startsWith("compileTest")) {
this.mustRunAfter("signMingwX64Publication")
}
if (this.name.startsWith("linkDebugTest")) {
this.mustRunAfter("signMingwX64Publication")
}
}
}
}

Expand Down
20 changes: 10 additions & 10 deletions linuxBuildAndPublish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
bignum:publishJvmPublicationToSnapshotRepository \
bignum:publishJsPublicationToSnapshotRepository \
bignum:publishKotlinMultiplatformPublicationToSnapshotRepository \
bignum:publishLinuxPublicationToSnapshotRepository \
bignum:publishLinuxX64PublicationToSnapshotRepository \
bignum:publishLinuxArm64PublicationToSnapshotRepository \
bignum:publishAndroidNativeX64ToSnapshotRepository \
bignum:publishAndroidNativeX86ToSnapshotRepository \
bignum:publishAndroidNativeArm32ToSnapshotRepository \
bignum:publishAndroidNativeArm64ToSnapshotRepository \
bignum:publishAndroidNativeX64PublicationToSnapshotRepository \
bignum:publishAndroidNativeX86PublicationToSnapshotRepository \
bignum:publishAndroidNativeArm32PublicationToSnapshotRepository \
bignum:publishAndroidNativeArm64PublicationToSnapshotRepository \
bignum:publishWasmJsPublicationToSnapshotRepository \
bignum:publishWasmWasiPublicationToSnapshotRepository || exit 1

Expand All @@ -16,12 +16,12 @@ bignum-serialization-kotlinx:publishJsPublicationToSnapshotRepository \
bignum-serialization-kotlinx:publishJvmPublicationToSnapshotRepository \
bignum-serialization-kotlinx:publishJsPublicationToSnapshotRepository \
bignum-serialization-kotlinx:publishKotlinMultiplatformPublicationToSnapshotRepository \
bignum-serialization-kotlinx:publishLinuxPublicationToSnapshotRepository \
bignum-serialization-kotlinx:publishLinuxX64PublicationToSnapshotRepository \
bignum-serialization-kotlinx:publishLinuxArm64PublicationToSnapshotRepository \
bignum-serialization-kotlinx:publishAndroidNativeX64ToSnapshotRepository \
bignum-serialization-kotlinx:publishAndroidNativeX86ToSnapshotRepository \
bignum-serialization-kotlinx:publishAndroidNativeArm32ToSnapshotRepository \
bignum-serialization-kotlinx:publishAndroidNativeArm64ToSnapshotRepository \
bignum-serialization-kotlinx:publishAndroidNativeX64PublicationToSnapshotRepository \
bignum-serialization-kotlinx:publishAndroidNativeX86PublicationToSnapshotRepository \
bignum-serialization-kotlinx:publishAndroidNativeArm32PublicationToSnapshotRepository \
bignum-serialization-kotlinx:publishAndroidNativeArm64PublicationToSnapshotRepository \
bignum-serialization-kotlinx:publishWasmJsPublicationToSnapshotRepository \
bignum-serialization-kotlinx:publishWasmWasiPublicationToSnapshotRepository || exit 1
exit 0

0 comments on commit 83d308e

Please sign in to comment.