mirror of
https://github.com/immich-app/isar.git
synced 2026-09-30 13:23:02 +08:00
24 lines
581 B
Bash
Executable File
24 lines
581 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Publishes the packages for a release to isar-community.dev using the artifacts from github
|
|
# Prerequisite: unpub authenticated and token added:
|
|
# `unpub_auth login && unpub_auth get | dart pub token add https://pub.isar-community.dev/`
|
|
#
|
|
|
|
set -o errexit
|
|
pushd packages/isar
|
|
dart pub get
|
|
popd
|
|
sh tool/download_binaries.sh
|
|
#dart pub token add --env-var=PUB_JSON https://pub.isar-community.dev/
|
|
pushd packages/isar
|
|
dart pub publish --force
|
|
popd
|
|
pushd packages/isar_generator
|
|
dart pub publish --force
|
|
popd
|
|
pushd packages/isar_flutter_libs
|
|
dart pub publish --force
|
|
popd
|
|
|