Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GHA] build number for Snapshot not being consistent over published artifacts #1661

Merged
merged 1 commit into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading