Skip to content

Commit

Permalink
Merge branch 'main' into publish-to-maven-central
Browse files Browse the repository at this point in the history
  • Loading branch information
hamada147 committed Dec 12, 2023
2 parents bff13b5 + 246b20e commit 75f0868
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 20 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 ${nextRelease.version} \"$(swift package compute-checksum 'apollo/build/packages/ApolloSwift/Apollo.xcframework.zip')\" ./.scripts/TemplatePackage.swift Package.swift" } ]
prepareCmd: "ls && rm -f Package.swift && rm -f Package.swift && ./.scripts/updatePackage.swift ${nextRelease.version} \"$(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>
)
]
)
1 change: 1 addition & 0 deletions .scripts/updatePackage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ func main() {
let outputPath = args[4]

do {
print("Updating reference to: \(ref) and checksum to:\(checksum)")
// Read the content of the file
let fileContent = try String(contentsOfFile: inputPath, encoding: .utf8)

Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## [1.2.5](https://github.com/input-output-hk/atala-prism-apollo/compare/v1.2.4...v1.2.5) (2023-12-11)


### Bug Fixes

* checksum third try ([#125](https://github.com/input-output-hk/atala-prism-apollo/issues/125)) ([f1eba66](https://github.com/input-output-hk/atala-prism-apollo/commit/f1eba66cf93cbbc10dcbbd4f3813858495c2fb93))

## [1.2.4](https://github.com/input-output-hk/atala-prism-apollo/compare/v1.2.3...v1.2.4) (2023-12-11)


### Bug Fixes

* checksum correctly updated ([#123](https://github.com/input-output-hk/atala-prism-apollo/issues/123)) ([6dd4d2e](https://github.com/input-output-hk/atala-prism-apollo/commit/6dd4d2edb2ad399641cb983f16ab3e970c9a5312))
* checkum CI script second try ([#124](https://github.com/input-output-hk/atala-prism-apollo/issues/124)) ([fc6be41](https://github.com/input-output-hk/atala-prism-apollo/commit/fc6be416a254244764a086d33370052d22a14ba8))

## [1.2.3](https://github.com/input-output-hk/atala-prism-apollo/compare/v1.2.2...v1.2.3) (2023-12-11)


Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ let package = Package(
// RELEASE
.binaryTarget(
name: "ApolloBinary",
url: "https://github.com/input-output-hk/atala-prism-apollo/releases/download/v1.2.3/Apollo.xcframework.zip",
checksum: ""
url: "https://github.com/input-output-hk/atala-prism-apollo/releases/download/v1.2.5/Apollo.xcframework.zip",
checksum:
)
]
)
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 1.2.3
version = 1.2.5
org.gradle.jvmargs = -Xmx3072M -Dkotlin.daemon.jvm.options="-Xmx3072M"
kotlin.code.style = official
android.useAndroidX = true
Expand Down

0 comments on commit 75f0868

Please sign in to comment.