Skip to content

Commit a13e284

Browse files
author
Martin Clauss
committed
Switch hosting to isar-community.dev
1 parent d5ae3f1 commit a13e284

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-1
lines changed

packages/isar/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 4.0.0-dev.15
2+
3+
Switch deployment to isar-community
4+
5+
### Enhancements
6+
7+
Change encryption key
8+
19
## 4.0.0-dev.14
210

311
⚠️ ISAR V4 IS NOT READY FOR PRODUCTION USE ⚠️

packages/isar/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ repository: https://github.com/isar-community/isar/tree/main/packages/isar
55
homepage: https://github.com/isar-community/isar
66
issue_tracker: https://github.com/isar-community/isar/issues
77
documentation: https://isar.dev
8+
publish_to: https://isar-community.dev/
89
funding:
910
- https://github.com/sponsors/simc/
1011
topics:

packages/isar_flutter_libs/pubspec.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: Isar Core binaries for the Isar Database. Needs to be included for
33
version: 0.0.0-placeholder
44
repository: https://github.com/isar-community/isar
55
homepage: https://isar.dev
6+
publish_to: https://isar-community.dev/
67

78
environment:
89
sdk: ">=3.1.0 <4.0.0"
@@ -11,7 +12,9 @@ environment:
1112
dependencies:
1213
flutter:
1314
sdk: flutter
14-
isar: 0.0.0-placeholder
15+
isar:
16+
version: 0.0.0-placeholder
17+
hosted: https://isar-community.dev/
1518

1619
flutter:
1720
plugin:

tool/publish.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
# Publishes the packages for a release to isar-community.dev using the artifacts from github
4+
# Prerequisite: unpub authenticated and token added:
5+
# `unpub_auth login && unpub_auth get | dart pub token add https://isar-community.dev/`
6+
#
7+
8+
set -o errexit
9+
if [ "$TAG" == "" ]; then
10+
echo "Define TAG to use"
11+
exit 1
12+
fi
13+
find . -type f -exec sed -i "s/0.0.0-placeholder/$TAG/g" {} +
14+
pushd packages/isar
15+
dart pub get
16+
popd
17+
sh tool/download_binaries.sh
18+
#dart pub token add --env-var=PUB_JSON https://isar-community.dev/
19+
pushd packages/isar
20+
dart pub publish --force
21+
popd
22+
pushd packages/isar_flutter_libs
23+
dart pub publish --force
24+
popd
25+

0 commit comments

Comments
 (0)