Skip to content

Commit

Permalink
Cleanup changelog, bring back melos publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Mar 15, 2024
1 parent c7dde5d commit 231244a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 22 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/publish-release.yml
Expand Up @@ -82,7 +82,7 @@ jobs:
working-directory: release

# realm_flutter has symlinks to native binaries which should not be packaged
- name: Cleanup symlinks, etc.
- name: Cleanup symlinks
run: |
rm packages/realm/android/src/main/cpp/lib
rm packages/realm/ios/realm_dart.xcframework
Expand Down Expand Up @@ -171,17 +171,21 @@ jobs:
dart pub global activate melos
dart pub global run melos bootstrap
# realm_flutter has symlinks to native binaries which should not be packaged
- name: Cleanup symlinks
run: |
rm packages/realm/android/src/main/cpp/lib
rm packages/realm/ios/realm_dart.xcframework
rm packages/realm/linux/binary
rm packages/realm/windows/binary
rm -rf packages/realm/tests/linux/flutter/ephemeral
rm -rf packages/realm/tests/windows/flutter/ephemeral
- name: Publish packages to pub.dev
# Using
# melos exec --no-published --no-private -- dart pub publish --force --skip-validation
# will fail due to symlinks in the realm package. Once we get rid of them, we can replace
# the manual publishing with using melos
run: |
mkdir -p $HOME/.config/dart
echo '${{ secrets.PUB_CREDENTIALS }}' >> $HOME/.config/dart/pub-credentials.json
dart pub publish --directory realm_dart --force --skip-validation
dart pub publish --directory realm --force --skip-validation
working-directory: release
melos exec --no-published --no-private -- dart pub publish --force --skip-validation
- name: Find Release PR
uses: juliangruber/find-pull-request-action@f9f7484f8237cf8485e5ab826e542ba5dd9e9c6e
Expand Down
14 changes: 0 additions & 14 deletions CHANGELOG.md
@@ -1,19 +1,5 @@
## vNext (TBD)

### Enhancements
* None

### Fixed
* None

### Compatibility
* Realm Studio: 13.0.0 or later.

### Internal
* Using Core x.y.z.

## 2.0.0-alpha.5 (2024-03-15)

### Breaking Changes
* `RealmValue.type` is now an enum of type `RealmValueType` rather than `Type`. If you need the runtime type of the value wrapped in `RealmValue`, use `RealmValue.value.runtimeType`. (Issue [#1505](https://github.com/realm/realm-dart/issues/1505))
* Renamed `RealmValue.uint8List` constructor to `RealmValue.binary`. (PR [#1469](https://github.com/realm/realm-dart/pull/1469))
Expand Down

0 comments on commit 231244a

Please sign in to comment.