Source Code added
This commit is contained in:
parent
800376eafd
commit
9efa9bc6dd
3912 changed files with 754770 additions and 2 deletions
14
mobile/scripts/fdroid_update_isar.sh
Executable file
14
mobile/scripts/fdroid_update_isar.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
isar_version="$(awk '/isar: /{gsub(/\^/, "", $2); print $2}' pubspec.yaml)"
|
||||
checked_out_version="$(git -C .isar describe --tags)"
|
||||
|
||||
if [ "$isar_version" = "$checked_out_version" ]; then
|
||||
echo "isar is up-to-date."
|
||||
exit 0
|
||||
fi
|
||||
echo "Updating from version $checked_out_version to $isar_version."
|
||||
|
||||
git -C .isar checkout "$isar_version"
|
||||
cargo generate-lockfile --manifest-path .isar/Cargo.toml
|
||||
mv .isar/Cargo.lock .isar-cargo.lock
|
||||
Loading…
Add table
Add a link
Reference in a new issue