diff options
| author | 2021-12-17 07:06:30 -0500 | |
|---|---|---|
| committer | 2021-12-17 07:06:30 -0500 | |
| commit | 1fdc150116cad39aae5c5da407c3312b47a59e3a (patch) | |
| tree | 123c79a4d7ad2d45781ba03ce939f7539fb428d8 /scripts/win32/release.tcl | |
| parent | feda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 (diff) | |
New upstream version 3.3.3+dfsg1.upstream/3.3.3+dfsg1
Diffstat (limited to 'scripts/win32/release.tcl')
| -rw-r--r-- | scripts/win32/release.tcl | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/scripts/win32/release.tcl b/scripts/win32/release.tcl new file mode 100644 index 0000000..d513b67 --- /dev/null +++ b/scripts/win32/release.tcl @@ -0,0 +1,30 @@ +set TARGET_DIR c:/temp/sqls-installer +set TMP_DIR c:/temp/SQLiteStudio + +set OLDDIR [pwd] + +file delete -force ../../output +puts "Compiling app." +exec tclsh ./compile.tcl +puts "Creating portable distro." +puts [exec tclsh ./create_dist_pkg.tcl] + +cd ../../output/portable/SQLiteStudio +set VER [lindex [exec sqlitestudiocli --version] 1] +cd $OLDDIR + +puts "Generating installator file." +cd ../installer +file delete -force $TARGET_DIR +puts [exec tclsh assemble.tcl $TARGET_DIR --repo] + +puts "Installing in temporary location" +file delete -force $TMP_DIR +exec $TARGET_DIR/InstallSQLiteStudio-$VER.exe TargetDir=$TMP_DIR + +file rename -force $TMP_DIR $TARGET_DIR/ +cd $TARGET_DIR + +puts "REMEMBER to zip $TARGET_DIR/SQLiteStudio into sqlitestudio-$VER.zip and uninstall that installation." + +cd $OLDDIR |
