git build: rename directory to zapret-<tag>

This commit is contained in:
bol-van 2024-11-07 12:50:09 +03:00
parent b79d8becd3
commit a5e6b20e71

View File

@ -361,8 +361,10 @@ jobs:
- name: Create release bundles
run: |
rm -rf zapret/.git*
tar -czf zapret-${{ github.ref_name }}.tar.gz zapret
zip -qr zapret-${{ github.ref_name }}.zip zapret
rm -rf zapret-${{ github.ref_name }}
cp -R zapret zapret-${{ github.ref_name }}
tar -czf zapret-${{ github.ref_name }}.tar.gz zapret-${{ github.ref_name }}
zip -qr zapret-${{ github.ref_name }}.zip zapret-${{ github.ref_name }}
- name: Upload release assets
uses: softprops/action-gh-release@v2