diff --git a/.github/workflows/win-exe.yml b/.github/workflows/win-exe.yml index 3eb11bf3b..0ca2a7789 100644 --- a/.github/workflows/win-exe.yml +++ b/.github/workflows/win-exe.yml @@ -19,7 +19,7 @@ env: OPENJFX_JMODS_AMD64: 'https://download2.gluonhq.com/openjfx/21.0.1/openjfx-21.0.1_windows-x64_bin-jmods.zip' OPENJFX_JMODS_AMD64_HASH: 'daf8acae631c016c24cfe23f88469400274d3441dd890615a42dfb501f3eb94a' WINFSP_MSI: 'https://github.com/winfsp/winfsp/releases/download/v2.0/winfsp-2.0.23075.msi' - WINFSP_UNINSTALLER: 'https://github.com/cryptomator/winfsp-uninstaller/releases/download/1.0.0/winfsp-uninstaller.exe' + WINFSP_UNINSTALLER: 'https://github.com/cryptomator/winfsp-uninstaller/releases/latest/download/winfsp-uninstaller.exe' defaults: run: @@ -413,3 +413,21 @@ jobs: username: ${{ secrets.ALLOWLIST_AVAST_USERNAME }} password: ${{ secrets.ALLOWLIST_AVAST_PASSWORD }} local-dir: files/ + notify-winget: + name: Notify for winget-release + if: startsWith(github.ref, 'refs/tags/') + needs: [build-msi] + runs-on: ubuntu-latest + steps: + - name: Slack Notification + uses: rtCamp/action-slack-notify@v2 + env: + SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} + SLACK_USERNAME: 'Cryptobot' + SLACK_ICON: false + SLACK_ICON_EMOJI: ':bot:' + SLACK_CHANNEL: 'cryptomator-desktop' + SLACK_TITLE: "MSI of ${{ github.event.repository.name }} ${{ github.event.release.tag_name }} published." + SLACK_MESSAGE: "Ready to ." + SLACK_FOOTER: false + MSG_MINIMAL: true \ No newline at end of file diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml new file mode 100644 index 000000000..245eff5d4 --- /dev/null +++ b/.github/workflows/winget.yml @@ -0,0 +1,27 @@ +name: Publish MSI to winget-pkgs + +on: + workflow_dispatch: + inputs: + tag: + description: 'Release tag' + required: true + +jobs: + winget: + name: Publish winget package + runs-on: windows-latest + steps: + - name: Sync winget-pkgs fork + run: | + gh repo sync cryptomator/winget-pkgs -b master --force + env: + GH_TOKEN: ${{ secrets.CRYPTOBOT_WINGET_TOKEN }} + - name: Submit package + uses: vedantmgoyal2009/winget-releaser@v2 + with: + identifier: Cryptomator.Cryptomator + version: ${{ inputs.tag }} + release-tag: ${{ inputs.tag }} + installers-regex: '\.msi$' + token: ${{ secrets.CRYPTOBOT_WINGET_TOKEN }} \ No newline at end of file diff --git a/dist/linux/common/org.cryptomator.Cryptomator.metainfo.xml b/dist/linux/common/org.cryptomator.Cryptomator.metainfo.xml index 98316a892..0330cac11 100644 --- a/dist/linux/common/org.cryptomator.Cryptomator.metainfo.xml +++ b/dist/linux/common/org.cryptomator.Cryptomator.metainfo.xml @@ -66,6 +66,7 @@ + diff --git a/dist/win/build.ps1 b/dist/win/build.ps1 index 7b1f7cc47..d48f2bce3 100644 --- a/dist/win/build.ps1 +++ b/dist/win/build.ps1 @@ -181,7 +181,7 @@ Write-Output "Downloading ${winfspMsiUrl}..." Invoke-WebRequest $winfspMsiUrl -OutFile ".\bundle\resources\winfsp.msi" # redirects are followed by default # download legacy-winfsp uninstaller -$winfspUninstaller= 'https://github.com/cryptomator/winfsp-uninstaller/releases/download/1.0.0/winfsp-uninstaller.exe' +$winfspUninstaller= 'https://github.com/cryptomator/winfsp-uninstaller/releases/latest/download/winfsp-uninstaller.exe' Write-Output "Downloading ${winfspUninstaller}..." Invoke-WebRequest $winfspUninstaller -OutFile ".\bundle\resources\winfsp-uninstaller.exe" # redirects are followed by default diff --git a/pom.xml b/pom.xml index f6a8d19f6..3e6d37bee 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.cryptomator cryptomator - 1.12.1 + 1.12.2 Cryptomator Desktop App @@ -37,7 +37,7 @@ 1.3.0 1.2.5 1.2.3 - 1.4.3 + 1.4.4 4.0.0 2.0.0 2.0.6