diff --git a/.releaserc.yml b/.releaserc.yml index fb9dc2b95..78401d38c 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -13,7 +13,7 @@ plugins: - [ '@semantic-release/exec', { prepareCmd: '(cd ./apollo/build/packages/ApolloSwift && zip -r "Apollo.xcframework.zip" Apollo.xcframework)' } ] - [ '@semantic-release/exec', { - prepareCmd: "rm -f Package.swift && ./.scripts/updatePackage.swift 0.0.0 $(swift package compute-checksum 'apollo/build/packages/ApolloSwift/Apollo.xcframework.zip') ./.scripts/TemplatePackage.swift Package.swift" } ] + prepareCmd: "rm -f Package.swift && ./.scripts/updatePackage.swift 0.0.0 \"$(swift package compute-checksum 'apollo/build/packages/ApolloSwift/Apollo.xcframework.zip')\" ./.scripts/TemplatePackage.swift Package.swift" } ] - [ "@semantic-release/git", { @@ -35,18 +35,3 @@ plugins: ] } ] - - [ - "semantic-release-slack-bot", - { - notifyOnSuccess: true, - notifyOnFail: true, - markdownReleaseNotes: true, - onSuccessTemplate: - { text: "A new version of `$package_name` successfully released!\n - Version: `v$npm_package_version`\n - Tag: $repo_url/releases/tag/v$npm_package_version\n - \n - Release notes:\n - $release_notes" }, - }, - ] diff --git a/.scripts/TemplatePackage.swift b/.scripts/TemplatePackage.swift index 22dd42352..e3b4e244b 100644 --- a/.scripts/TemplatePackage.swift +++ b/.scripts/TemplatePackage.swift @@ -24,7 +24,7 @@ let package = Package( .binaryTarget( name: "ApolloBinary", url: "https://github.com/input-output-hk/atala-prism-apollo/releases/download/v/Apollo.xcframework.zip", - checksum: "" + checksum: ) ] )