forked from Aleksoid1978/MPC-BE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Aleksoid1978:master' into master
- Loading branch information
Showing
399 changed files
with
9,712 additions
and
5,201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
name: Build MPC-BE | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- .github/workflows/main.yml | ||
- docs/** | ||
- LICENSE.txt | ||
- src/apps/mpcresources/text/** | ||
- '**.vcxproj.filters' | ||
pull_request: | ||
paths-ignore: | ||
- .github/workflows/main.yml | ||
- docs/** | ||
- LICENSE.txt | ||
- src/apps/mpcresources/text/** | ||
- '**.vcxproj.filters' | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
timeout-minutes: 60 | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
|
||
- name: Prepare MSYS | ||
run: | | ||
curl -sSL https://github.com/Aleksoid1978/MSYS/raw/main/MSYS_MinGW-w64_GCC_1320_x86-x64.7z -o MSYS.7z | ||
7z x MSYS.7z -oC:\\MSYS | ||
echo '@ECHO OFF' > environments.bat | ||
echo 'SET "MPCBE_MSYS=C:\\MSYS"' >> environments.bat | ||
echo 'SET "MPCBE_MINGW=C:\\MSYS\\mingw"' >> environments.bat | ||
.\\update_gcc.bat | ||
shell: pwsh | ||
|
||
- name: Clean | ||
run: | | ||
.\\build.bat Clean All | ||
shell: pwsh | ||
|
||
- name: Build MPC-BE | ||
run: | | ||
.\\build.bat Build Packages | ||
shell: pwsh | ||
|
||
- name: Upload Installer x64 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "Installer x64" | ||
path: _bin/Packages/**/MPC-BE*.x64-installer.zip | ||
compression-level: 0 | ||
|
||
- name: Upload Zip x64 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "Zip x64" | ||
path: _bin/Packages/**/MPC-BE*.x64.7z | ||
compression-level: 0 | ||
|
||
- name: Upload Installer x86 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "Installer x86" | ||
path: _bin/Packages/**/MPC-BE*.x86-installer.zip | ||
compression-level: 0 | ||
|
||
- name: Upload Zip x86 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "Zip x86" | ||
path: _bin/Packages/**/MPC-BE*.x86.7z | ||
compression-level: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,31 @@ | ||
Here is a quick how-to release a new stable build: | ||
Подсказка по выпуску релиза плеера MPC-BE: | ||
|
||
1) Make sure you have a clean source tree, no modified files included | ||
2) Update the revision number and the date in Changelog.txt | ||
3) Compile MPC-BE and the standalone filters | ||
4) Create an svn tag for the new release | ||
5) Keep the PDB files of all the filters and MPC-BE builds | ||
6) Upload the binary packages on SF following the directory and the packages names scheme | ||
(you can also upload the PDB files too, use 7zip for creating the 7z packages) | ||
7) Update the webpage with the new download links, history and version.txt with | ||
the new version number (in the SF FTP) | ||
1. Проверяем отсутствие изменений в локальном репозитории и синхронизируем код с сервером. | ||
git pull | ||
git submodule update --init --recursive | ||
|
||
2. Обновляем Changelog.Rus.txt и Changelog.txt. Записываем номер версии релиза и текущую дату. | ||
|
||
In the next commit, bump the version: | ||
3. Обновляем номер версии в "include/Version.h" и меняем MPC_VERSION_STATUS на 1. | ||
|
||
1) In "include/Version.h" | ||
2) In "src/mplayerc/res/mpc-be.exe.manifest.conf" and | ||
"src/mplayerc/res/mpc-be.exe.manifest.template" | ||
4. Обновляем номер версии в "src/mplayerc/res/mpc-be.exe.manifest.conf" и "src/mplayerc/res/mpc-be.exe.manifest.template" | ||
|
||
5. Очищаем папку "_bin" и делаем пробную сборку. | ||
build.bat Build All Packages | ||
|
||
6. Если все хорошо, то создаем коммит "Релиз x.x.x.". | ||
|
||
7. Создаем новую метку с номером версии релиза и пишем для метки сообщение "Релиз x.x.x.". | ||
|
||
8. Заливаем изменения на сервер, включая новую метку. | ||
|
||
9. Очищаем папку "_bin" и делаем сборку релиза. | ||
build.bat Build All Packages | ||
|
||
10. Создаем файл контрольных сумм mpc-be.x.x.x.checksums.sha для всех файлов релиза из папки "Packages\x.x.x". | ||
|
||
11. На странице https://github.com/Aleksoid1978/MPC-BE/releases создаем новый релиз. Прописываем изменения. Добавляем файлы релиза и файл контрольных сумм. Публикуем релиз. | ||
|
||
12. Прописываем новую версию и путь в файл version.txt на сервере mpc-be.org, чтобы проверка обновлений сообщала о новой версии. | ||
|
||
13. Делаем копию релизных файлов по адресу https://sourceforge.net/projects/mpcbe/files/MPC-BE/Release%20builds/ и указываем инсталлятор версии x64 по умолчанию для скачивания. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.