Skip to content

Commit

Permalink
- Fix issue with build number for Snapshot not being consistent over …
Browse files Browse the repository at this point in the history
…published artifacts (#1661)

- Add missing checksum hash for artifact
  • Loading branch information
nhachicha authored Feb 17, 2024
1 parent 3d7df67 commit 84db4f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
### Fixed
* Cache notification callback JNI references at startup to ensure that symbols can be resolved in core callbacks. (Issue [#1577](https://github.com/realm/realm-kotlin/issues/1577))
* Using `Realm.asFlow()` could miss an update if a write was started right after opening the Realm. (Issue [#1582](https://github.com/realm/realm-kotlin/issues/1582))
* Snapshot publishing with Github Action. (Issue [#1654](https://github.com/realm/realm-kotlin/issues/1654) [JIRA](https://jira.mongodb.org/browse/RKOTLIN-1018))

### Compatibility
* File format: Generates Realms with file format v23.
Expand Down
5 changes: 4 additions & 1 deletion tools/publish_snapshots.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,10 @@ fun uploadFiles(files: PackageData) {
args.run {
// See https://maven.apache.org/plugins/maven-gpg-plugin/sign-and-deploy-file-mojo.html
add("mvn")
add("gpg:sign-and-deploy-file")
// TODO upgrade to latest sign-and-deploy once https://issues.apache.org/jira/browse/MGPG-85 is fixed
// context https://github.com/eclipse-lsp4j/lsp4j/issues/610
add("org.apache.maven.plugins:maven-gpg-plugin:1.6:sign-and-deploy-file")
add("-Daether.checksums.algorithms=SHA-512,SHA-256,SHA-1,MD5")
add("-Durl=https://oss.sonatype.org/content/repositories/snapshots")
add("-DrepositoryId=ossrh")
add("-DpomFile=${files.fullPathToPackage}/${files.pomFile.fileName}")
Expand Down

0 comments on commit 84db4f6

Please sign in to comment.