3 Commits

Author SHA1 Message Date
Flowseal
02f6e89f81 Version bump 2026-06-15 07:45:11 +03:00
Flowseal
b62f558c7b release workflow changes 2026-06-15 07:44:24 +03:00
Flowseal
100a0c9a41 fixes #15004 2026-06-15 07:36:51 +03:00
3 changed files with 35 additions and 7 deletions

View File

@@ -26,18 +26,45 @@ jobs:
fi fi
- name: Install tools - name: Install tools
run: sudo apt-get install -y rar p7zip-full run: |
sudo apt-get update
sudo apt-get install -y zip tar rar
- name: Prepare release bundle
run: |
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
mkdir "$NAME"
cp -r bin "$NAME/"
cp -r lists "$NAME/"
cp -r utils "$NAME/"
cp *.bat "$NAME/"
cp README.md "$NAME/"
cp LICENSE.txt "$NAME/"
(
cd "$NAME"
find . -type f -exec sha256sum {} \;
) > "$NAME/SHA256SUMS.txt"
- name: Create archives - name: Create archives
run: | run: |
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}" NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
7z a "${NAME}.zip" bin/ lists/ utils/ *.bat
rar a "${NAME}.rar" bin/ lists/ utils/ *.bat zip -qr "${NAME}.zip" "$NAME"
rar a -idq "${NAME}.rar" "$NAME"
tar --owner=0 --group=0 -czf "${NAME}.tar.gz" "$NAME"
- name: Print SHA256 checksums - name: Print SHA256 checksums
run: | run: |
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}" NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
sha256sum "${NAME}.zip" "${NAME}.rar"
sha256sum \
"${NAME}.zip" \
"${NAME}.rar" \
"${NAME}.tar.gz"
- name: Create GitHub Release - name: Create GitHub Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
@@ -47,3 +74,4 @@ jobs:
files: | files: |
zapret-discord-youtube-${{ github.event.inputs.tag }}.zip zapret-discord-youtube-${{ github.event.inputs.tag }}.zip
zapret-discord-youtube-${{ github.event.inputs.tag }}.rar zapret-discord-youtube-${{ github.event.inputs.tag }}.rar
zapret-discord-youtube-${{ github.event.inputs.tag }}.tar.gz

View File

@@ -1 +1 @@
1.9.9b 1.9.9c

View File

@@ -1,5 +1,5 @@
@echo off @echo off
set "LOCAL_VERSION=1.9.9b" set "LOCAL_VERSION=1.9.9c"
:: External commands :: External commands
if "%~1"=="status_zapret" ( if "%~1"=="status_zapret" (
@@ -52,8 +52,8 @@ if "%1"=="admin" (
:: MENU ================================ :: MENU ================================
title ZAPRET SERVICE MANAGER v!LOCAL_VERSION!
setlocal EnableDelayedExpansion setlocal EnableDelayedExpansion
title ZAPRET SERVICE MANAGER v!LOCAL_VERSION!
:menu :menu
cls cls