diff options
| author | 2021-12-17 07:07:47 -0500 | |
|---|---|---|
| committer | 2021-12-17 07:07:47 -0500 | |
| commit | 558b1e35fd0777ac97763c1b28056ac984e583e7 (patch) | |
| tree | 1eb2557119a117ea76535c89cd14a49e510b96bf /scripts/win32/release.tcl | |
| parent | c22eb635c11fd45f9c30f911d70e1d79111a49ce (diff) | |
| parent | 1fdc150116cad39aae5c5da407c3312b47a59e3a (diff) | |
Update upstream source from tag 'upstream/3.3.3+dfsg1'
Update to upstream version '3.3.3+dfsg1'
with Debian dir 9a301fff4922aed2fec0c04c7d011947168c42f1
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 |
