diff --git a/bignum/build.gradle.kts b/bignum/build.gradle.kts index bca41963..65d423ff 100644 --- a/bignum/build.gradle.kts +++ b/bignum/build.gradle.kts @@ -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") + } + } } } diff --git a/linuxBuildAndPublish.sh b/linuxBuildAndPublish.sh index 2665a9cf..45ddef26 100755 --- a/linuxBuildAndPublish.sh +++ b/linuxBuildAndPublish.sh @@ -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 @@ -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