mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2026-08-05 15:45:52 +03:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
02f6e89f81 | ||
|
|
b62f558c7b | ||
|
|
100a0c9a41 |
36
.github/workflows/release.yml
vendored
36
.github/workflows/release.yml
vendored
@@ -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
|
||||||
@@ -1 +1 @@
|
|||||||
1.9.9b
|
1.9.9c
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user