Skip to content

Commit

Permalink
zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Edi61 committed Mar 14, 2023
1 parent 67d6c1c commit 4bcd4e5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/AntiDupl_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ jobs:
path: |
${{ github.workspace }}\out\bin\AntiDupl.NET-${{ steps.version.outputs.content }}.exe
${{ github.workspace }}\out\bin\AntiDupl.NET-${{ steps.version.outputs.content }}.exe.hash.txt
${{ github.workspace }}\out\bin\AntiDupl.NET-${{ steps.version.outputs.content }}.7z
${{ github.workspace }}\out\bin\AntiDupl.NET-${{ steps.version.outputs.content }}.7z.hash.txt
${{ github.workspace }}\out\bin\AntiDupl.NET-${{ steps.version.outputs.content }}.zip
${{ github.workspace }}\out\bin\AntiDupl.NET-${{ steps.version.outputs.content }}.zip.hash.txt
- if: matrix.configuration == 'Publish'
name: Upload build SingleFilePortable
Expand All @@ -102,8 +102,8 @@ jobs:
path: |
${{ github.workspace }}\out\Publish\AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.exe
${{ github.workspace }}\out\Publish\AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.exe.hash.txt
${{ github.workspace }}\out\Publish\AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.7z
${{ github.workspace }}\out\Publish\AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.7z.hash.txt
${{ github.workspace }}\out\Publish\AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.zip
${{ github.workspace }}\out\Publish\AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.zip.hash.txt
create-draft-release:
if: startsWith(github.ref, 'refs/tags/')
Expand Down Expand Up @@ -140,7 +140,9 @@ jobs:
vt_api_key: ${{ secrets.VT_API_KEY }}
files: |
AntiDupl.NET-${{ steps.version.outputs.content }}.exe
AntiDupl.NET-${{ steps.version.outputs.content }}.zip
AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.exe
AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.zip
- name: Generate VirusTotal Body
shell: msys2 {0}
Expand All @@ -162,11 +164,11 @@ jobs:
files: |
AntiDupl.NET-${{ steps.version.outputs.content }}.exe
AntiDupl.NET-${{ steps.version.outputs.content }}.exe.hash.txt
AntiDupl.NET-${{ steps.version.outputs.content }}.7z
AntiDupl.NET-${{ steps.version.outputs.content }}.7z.hash.txt
AntiDupl.NET-${{ steps.version.outputs.content }}.zip
AntiDupl.NET-${{ steps.version.outputs.content }}.zip.hash.txt
AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.exe
AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.exe.hash.txt
AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.7z
AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.7z.hash.txt
AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.zip
AntiDupl.NET-${{ steps.version.outputs.content }}_SingleFilePortable.zip.hash.txt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions cmd/MakeBin.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ certutil -hashfile %OUT_DIR%\AntiDupl.NET-%VERSION%.zip SHA256 > %OUT_DIR%\AntiD
) else (
.\7-zip\7za_2201.exe a -sfx7z.sfx %OUT_DIR%\AntiDupl.NET-%VERSION%.exe %TMP_DIR%
certutil -hashfile %OUT_DIR%\AntiDupl.NET-%VERSION%.exe SHA256 > %OUT_DIR%\AntiDupl.NET-%VERSION%.exe.hash.txt
.\7-zip\7za_2201.exe a %OUT_DIR%\AntiDupl.NET-%VERSION%.7z .\%TMP_DIR%\*
certutil -hashfile %OUT_DIR%\AntiDupl.NET-%VERSION%.7z SHA256 > %OUT_DIR%\AntiDupl.NET-%VERSION%.7z.hash.txt
.\7-zip\7za_2201.exe a -tzip %OUT_DIR%\AntiDupl.NET-%VERSION%.zip .\%TMP_DIR%\*
certutil -hashfile %OUT_DIR%\AntiDupl.NET-%VERSION%.zip SHA256 > %OUT_DIR%\AntiDupl.NET-%VERSION%.zip.hash.txt
)
4 changes: 2 additions & 2 deletions cmd/MakePublish.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ certutil -hashfile %OUT_DIR%\AntiDupl.NET-%VERSION%.zip SHA256 > %OUT_DIR%\AntiD
) else (
.\7-zip\7za_2201.exe a -sfx7z.sfx %OUT_DIR%\AntiDupl.NET-%VERSION%_SingleFilePortable.exe %TMP_DIR%
certutil -hashfile %OUT_DIR%\AntiDupl.NET-%VERSION%_SingleFilePortable.exe SHA256 > %OUT_DIR%\AntiDupl.NET-%VERSION%_SingleFilePortable.exe.hash.txt
.\7-zip\7za_2201.exe a %OUT_DIR%\AntiDupl.NET-%VERSION%_SingleFilePortable.7z .\%TMP_DIR%\*
certutil -hashfile %OUT_DIR%\AntiDupl.NET-%VERSION%_SingleFilePortable.7z SHA256 > %OUT_DIR%\AntiDupl.NET-%VERSION%_SingleFilePortable.7z.hash.txt
.\7-zip\7za_2201.exe a -tzip %OUT_DIR%\AntiDupl.NET-%VERSION%_SingleFilePortable.zip .\%TMP_DIR%\*
certutil -hashfile %OUT_DIR%\AntiDupl.NET-%VERSION%_SingleFilePortable.zip SHA256 > %OUT_DIR%\AntiDupl.NET-%VERSION%_SingleFilePortable.zip.hash.txt
)
4 changes: 2 additions & 2 deletions cmd/MakeSrc.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ if exist %RAR_EXE% (
%RAR_EXE% a -afzip -ep1 -r %OUT_DIR%\AntiDupl.NET-%VERSION%_Sources.zip %TMP_DIR%
certutil -hashfile %OUT_DIR%\AntiDupl.NET-%VERSION%_Sources.zip SHA256 > %OUT_DIR%\AntiDupl.NET-%VERSION%_Sources.zip.hash.txt
) else (
.\7-zip\7za_2201.exe a %OUT_DIR%\AntiDupl.NET-%VERSION%_Sources.7z .\%TMP_DIR%\*
certutil -hashfile %OUT_DIR%\AntiDupl.NET-%VERSION%_Sources.7z SHA256 > %OUT_DIR%\AntiDupl.NET-%VERSION%_Sources.7z.hash.txt
.\7-zip\7za_2201.exe a -tzip %OUT_DIR%\AntiDupl.NET-%VERSION%_Sources.zip .\%TMP_DIR%\*
certutil -hashfile %OUT_DIR%\AntiDupl.NET-%VERSION%_Sources.zip SHA256 > %OUT_DIR%\AntiDupl.NET-%VERSION%_Sources.zip.hash.txt
)

0 comments on commit 4bcd4e5

Please sign in to comment.