Skip to content

Commit 21caffb

Browse files
committed
fix(packaging): exclude updater scripts from stable builds
Stable users expect a fixed version (v0.41.0). Including updater.bat and installer/updater.ps1 would silently upgrade them to nightly, contradicting the reason they chose a stable build. Only copy installer/ and doc/.
1 parent d7cd0da commit 21caffb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/mpv-packaging.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ -d $dir ] && [[ $dir =~ mpv-$3.*-git-* ]]; then
77
cp -r $1/mpv-root/* $1/$3/d3dcompiler_43.dll $dir
88
7z a -m0=lzma2 -mx=9 -ms=on $dir.7z $dir/* -x!*.7z
99
elif [ -d $dir ] && [[ $dir =~ mpv-.*$3 ]] && [[ ! $dir =~ -git- ]]; then
10-
cp -r $1/mpv-root/* $1/$3/d3dcompiler_43.dll $dir
10+
cp -r $1/mpv-root/installer $1/mpv-root/doc $1/$3/d3dcompiler_43.dll $dir
1111
7z a -m0=lzma2 -mx=9 -ms=on $dir.7z $dir/* -x!*.7z
1212
elif [ -d $dir ]; then
1313
7z a -m0=lzma2 -mx=9 -ms=on $dir.7z $dir/* -x!*.7z

0 commit comments

Comments
 (0)