diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f56e590c2..5270365b3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,6 +43,15 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + - name: Sign source tarball with key 615D449FE6E6A235 + if: startsWith(github.ref, 'refs/tags/') + run: | + git archive --prefix="cryptomator-${{ github.ref_name }}/" -o "cryptomator-${{ github.ref_name }}.tar.gz" ${{ github.ref }} + echo "${GPG_PRIVATE_KEY}" | gpg --batch --quiet --import + echo "${GPG_PASSPHRASE}" | gpg --batch --quiet --passphrase-fd 0 --pinentry-mode loopback -u 615D449FE6E6A235 --detach-sign -a cryptomator-*.tar.gz + env: + GPG_PRIVATE_KEY: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} + GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }} - name: Draft a release if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v1 @@ -51,6 +60,9 @@ jobs: discussion_category_name: releases token: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }} generate_release_notes: true + files: | + cryptomator-*.tar.gz.asc + fail_on_unmatched_files: true body: |- :construction: Work in Progress diff --git a/.github/workflows/win-exe.yml b/.github/workflows/win-exe.yml index ec5b60ed4..d2b568860 100644 --- a/.github/workflows/win-exe.yml +++ b/.github/workflows/win-exe.yml @@ -279,4 +279,44 @@ jobs: token: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }} files: | Cryptomator-*.exe - Cryptomator-*.asc \ No newline at end of file + Cryptomator-*.asc + + allowlist: + name: Anti Virus Allowlisting + if: startsWith(github.ref, 'refs/tags/') + runs-on: ubuntu-latest + needs: [build-msi, build-exe] + steps: + - name: Download .msi + uses: actions/download-artifact@v2 + with: + name: msi + path: msi + - name: Download .exe + uses: actions/download-artifact@v2 + with: + name: exe + path: exe + - name: Collect files + run: | + mkdir files + cp msi/*.msi files + cp exe/*.exe files + - name: Upload to Kaspersky + uses: SamKirkland/FTP-Deploy-Action@4.3.0 + with: + protocol: ftps + server: allowlist.kaspersky-labs.com + port: 990 + username: ${{ secrets.ALLOWLIST_KASPERSKY_USERNAME }} + password: ${{ secrets.ALLOWLIST_KASPERSKY_PASSWORD }} + local-dir: files/ + - name: Upload to Avast + uses: SamKirkland/FTP-Deploy-Action@4.3.0 + with: + protocol: ftp + server: whitelisting.avast.com + port: 21 + username: ${{ secrets.ALLOWLIST_AVAST_USERNAME }} + password: ${{ secrets.ALLOWLIST_AVAST_PASSWORD }} + local-dir: files/ diff --git a/.idea/runConfigurations/Cryptomator_Windows_Dev.xml b/.idea/runConfigurations/Cryptomator_Windows_Dev.xml index 62ab38666..b4b844cae 100644 --- a/.idea/runConfigurations/Cryptomator_Windows_Dev.xml +++ b/.idea/runConfigurations/Cryptomator_Windows_Dev.xml @@ -2,7 +2,7 @@