Skip to content

Commit e1935ed

Browse files
committed
improve release scripts
1 parent 2e9bafc commit e1935ed

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

build_release_linux.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
flutterBin=flutter/bin/flutter
4+
5+
mkdir -p ./release
6+
7+
$flutterBin clean
8+
$flutterBin build linux --target-platform linux-x64
9+
10+
# compress to release directory
11+
tar -czf "release/enthusiast_tea_timer_linux.tar.gz" -C "build/linux/x64/release/bundle" .

build_release_web.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ mkdir -p ./release
66
$flutterBin clean
77

88
$flutterBin build web --release
9+
10+
# compress to release directory
11+
tar -czf "release/enthusiast_tea_timer_web.tar.gz" -C "build/web" .

0 commit comments

Comments
 (0)