Skip to content

Commit 0d3899f

Browse files
committed
Release 7.5.2
1 parent 1f47ab4 commit 0d3899f

File tree

2 files changed

+7
-29
lines changed

2 files changed

+7
-29
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ permissions:
1212
jobs:
1313
build-linux:
1414
runs-on: ubuntu-latest
15+
if: ${{ !endsWith(github.ref_name, '-legacy') }}
1516
steps:
1617
- uses: actions/checkout@v4
1718
- uses: actions/setup-python@v5
@@ -33,31 +34,9 @@ jobs:
3334
name: TinyTouch-linux-x64
3435
path: dist/TinyTouch-${{ github.ref_name }}-linux-x64.zip
3536

36-
build-linux-legacy:
37-
runs-on: ubuntu-20.04
38-
steps:
39-
- uses: actions/checkout@v4
40-
- uses: actions/setup-python@v5
41-
with:
42-
python-version: "3.11"
43-
- name: Install deps
44-
run: |
45-
python -m pip install --upgrade pip setuptools wheel
46-
pip install -r requirements.txt
47-
- name: Build (PyInstaller)
48-
run: |
49-
TINYTOUCH_APP_NAME=TinyTouch-${{ github.ref_name }}-legacy python -m PyInstaller TinyTouch.spec
50-
- name: Package
51-
run: |
52-
cd dist
53-
zip -r TinyTouch-${{ github.ref_name }}-linux-x64-legacy.zip TinyTouch-${{ github.ref_name }}-legacy
54-
- uses: actions/upload-artifact@v4
55-
with:
56-
name: TinyTouch-linux-x64-legacy
57-
path: dist/TinyTouch-${{ github.ref_name }}-linux-x64-legacy.zip
58-
5937
build-windows:
6038
runs-on: windows-latest
39+
if: ${{ !endsWith(github.ref_name, '-legacy') }}
6140
steps:
6241
- uses: actions/checkout@v4
6342
- uses: actions/setup-python@v5
@@ -81,8 +60,8 @@ jobs:
8160

8261
release:
8362
runs-on: ubuntu-latest
84-
needs: [build-linux, build-linux-legacy, build-windows]
85-
if: startsWith(github.ref, 'refs/tags/')
63+
needs: [build-linux, build-windows]
64+
if: startsWith(github.ref, 'refs/tags/') && !endsWith(github.ref_name, '-legacy')
8665
steps:
8766
- uses: actions/download-artifact@v4
8867
with:
@@ -93,5 +72,4 @@ jobs:
9372
name: TinyTouch ${{ github.ref_name }}
9473
files: |
9574
dist/TinyTouch-linux-x64/TinyTouch-${{ github.ref_name }}-linux-x64.zip
96-
dist/TinyTouch-linux-x64-legacy/TinyTouch-${{ github.ref_name }}-linux-x64-legacy.zip
9775
dist/TinyTouch-windows-x64/TinyTouch-${{ github.ref_name }}-windows-x64.zip

src/video_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ def __init__(self, video_path):
6565

6666

6767
if sys.platform.startswith("win"):
68-
self.program_version = "7.5.0 (Windows)"
68+
self.program_version = "7.5.2 (Windows)"
6969
elif sys.platform.startswith("linux"):
70-
self.program_version = "7.5.0 (Linux)"
70+
self.program_version = "7.5.2 (Linux)"
7171
else:
72-
self.program_version = "7.5.0 (Unknown OS)"
72+
self.program_version = "7.5.2 (Unknown OS)"
7373
print("INFO: Program version:", self.program_version)
7474
self.parameter1_name = None
7575
self.parameter2_name = None

0 commit comments

Comments
 (0)