Skip to content

Commit

Permalink
fix: checkum CI script second try (#124)
Browse files Browse the repository at this point in the history
Im merging already since I need to test in the release process.

Co-authored-by: Ahmed Moussa <ahmed.moussa@iohk.io>
Signed-off-by: Goncalo Frade <goncalo.frade@iohk.io>
  • Loading branch information
goncalo-frade-iohk and hamada147 committed May 20, 2024
1 parent 5e665a0 commit c4051f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
17 changes: 1 addition & 16 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
{
Expand All @@ -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" },
},
]
2 changes: 1 addition & 1 deletion .scripts/TemplatePackage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let package = Package(
.binaryTarget(
name: "ApolloBinary",
url: "https://github.com/input-output-hk/atala-prism-apollo/releases/download/v<ref>/Apollo.xcframework.zip",
checksum: "<checksum>"
checksum: <checksum>
)
]
)

0 comments on commit c4051f7

Please sign in to comment.