24 lines
503 B
Bash
24 lines
503 B
Bash
#!/usr/bin/env bash
|
|
# 20260913 - Hyperling
|
|
# Build the project and add them to a releases folder.
|
|
|
|
# TODO
|
|
# create dir name release-${version} to store these in,
|
|
|
|
echo -e "\nCleaning..."
|
|
flutter clean
|
|
|
|
echo -e "\nBuilding Linux..."
|
|
flutter build linux
|
|
zip -r release/linux-bundle.zip build/linux/x64/release/bundle/*
|
|
|
|
echo -e "\nCleaning..."
|
|
flutter clean
|
|
|
|
echo -e "\nBuilding APK..."
|
|
flutter build apk
|
|
cp -v build/app/outputs/flutter-apk/app-release.apk release/
|
|
|
|
echo -e "\nCleaning..."
|
|
flutter clean
|