Skip to content

Commit

Permalink
Adjust isar dependencies to hosted repo
Browse files Browse the repository at this point in the history
Release 3.1.3
  • Loading branch information
mrclauss authored and Martin Clauss committed Mar 2, 2024
1 parent 41d1b60 commit 46e4219
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 25 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,24 +76,24 @@ jobs:
# uses: ./.github/workflows/testlab.yaml
# secrets: inherit

build_inspector:
name: Build Inspector
needs: testlab
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- name: Build
run: flutter build web --base-href /${{ github.ref_name }}/
working-directory: packages/isar_inspector
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: packages/isar_inspector/build/web
repository-name: isar/inspector
token: ${{ secrets.TOKEN }}
target-folder: ${{ github.ref_name }}
clean: false
# build_inspector:
# name: Build Inspector
# needs: testlab
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: subosito/flutter-action@v2
# - name: Build
# run: flutter build web --base-href /${{ github.ref_name }}/
# working-directory: packages/isar_inspector
# - name: Deploy to GitHub Pages
# uses: JamesIves/github-pages-deploy-action@v4
# with:
# folder: packages/isar_inspector/build/web
# repository-name: isar/inspector
# token: ${{ secrets.TOKEN }}
# target-folder: ${{ github.ref_name }}
# clean: false

# publish:
# name: Publish
Expand Down
2 changes: 1 addition & 1 deletion packages/isar/lib/src/isar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class Isar {
}

/// The version of the Isar library.
static const version = '3.1.1';
static const version = '3.1.3';

/// Smallest valid id.
static const Id minId = isarMinId;
Expand Down
3 changes: 2 additions & 1 deletion packages/isar/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: isar
description: Extremely fast, easy to use, and fully async NoSQL database for Flutter.
version: 3.1.1
version: 3.1.3
repository: https://github.com/isar/isar/tree/main/packages/isar
homepage: https://github.com/isar/isar
issue_tracker: https://github.com/isar/isar/issues
documentation: https://isar.dev
publish_to: https://isar-community.dev/
funding:
- https://github.com/sponsors/leisim/

Expand Down
7 changes: 5 additions & 2 deletions packages/isar_flutter_libs/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: isar_flutter_libs
description: Isar Core binaries for the Isar Database. Needs to be included for Flutter apps.
version: 3.1.1
version: 3.1.3
repository: https://github.com/isar/isar
homepage: https://isar.dev
publish_to: https://isar-community.dev/

environment:
sdk: ">=2.17.0 <3.0.0"
Expand All @@ -11,7 +12,9 @@ environment:
dependencies:
flutter:
sdk: flutter
isar: 3.1.1
isar:
version: 3.1.3
hosted: https://isar-community.dev/

flutter:
plugin:
Expand Down
7 changes: 5 additions & 2 deletions packages/isar_generator/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: isar_generator
description: Code generator for the Isar Database. Finds classes annotated with @Collection.
version: 3.1.1
version: 3.1.3
repository: https://github.com/isar/isar
homepage: https://isar.dev
publish_to: https://isar-community.dev/

environment:
sdk: ">=2.17.0 <3.0.0"
Expand All @@ -13,7 +14,9 @@ dependencies:
dart_style: ^2.2.3
dartx: ^1.1.0
glob: ^2.0.2
isar: 3.1.1
isar:
version: 3.1.3
hosted: https://isar-community.dev/
path: ^1.8.1
source_gen: ^1.2.2
xxh3: ^1.0.1
Expand Down
2 changes: 1 addition & 1 deletion tool/download_binaries.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

version=`dart packages/isar/tool/get_version.dart`
github="https://github.com/isar/isar/releases/download/${version}"
github="https://github.com/mrclauss/isar/releases/download/${version}"


curl "${github}/libisar_android_arm64.so" -o packages/isar_flutter_libs/android/src/main/jniLibs/arm64-v8a/libisar.so --create-dirs -L -f
Expand Down

0 comments on commit 46e4219

Please sign in to comment.