diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a1a6b510..5d1c7802 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -158,7 +158,7 @@ jobs: python -m pip install --upgrade pip pip install --upgrade poetry poetry install - poetry run pip install pyinstaller==5.13.2 + poetry run pip install pyinstaller==6.10.0 - run: make build-windows - name: Install Advinst uses: caphyon/advinst-github-action@main @@ -182,8 +182,23 @@ jobs: path: signed/rclip-*.msi if-no-files-found: error + windows-validate: + needs: [parse_tag, windows] + runs-on: windows-2022 + steps: + - uses: actions/download-artifact@v3 + with: + name: windows + - name: Install MSI + run: Start-Process msiexec.exe -Wait -ArgumentList '/i rclip-${{ needs.parse_tag.outputs.version }}.msi /quiet' + - name: Ensure it works + run: | + Import-Module "$env:ChocolateyInstall/helpers/chocolateyInstaller.psm1" + refreshenv + rclip cat + create_release: - needs: [parse_tag, pypi, snap, appimage, windows] + needs: [parse_tag, pypi, snap, appimage, windows-validate] # the windows job doesn't run for pre-releases, but we need to create a release for pre-releases too if: ${{ !cancelled() }} runs-on: ubuntu-22.04 diff --git a/pyproject.toml b/pyproject.toml index 73cadedb..c25aebf9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "rclip" -version = "1.10.2" +version = "1.10.3a18" description = "AI-Powered Command-Line Photo Search Tool" authors = ["Yurij Mikhalevich "] license = "MIT" diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 52db6e1b..e9deacfe 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -10,7 +10,7 @@ description: | For a detailed demonstration, watch the video: https://www.youtube.com/watch?v=tAJHXOkHidw. You can use another image as a query by passing a file path or even an URL to the image file to **rclip** and combine multiple queries. Check out the project's README on GitHub for more usage examples: https://github.com/yurijmikhalevich/rclip#readme. -version: 1.10.2 +version: 1.10.3a18 website: https://github.com/yurijmikhalevich/rclip contact: yurij@mikhalevi.ch passthrough: @@ -31,7 +31,7 @@ apps: parts: rclip: plugin: python - source: ./snap/local/rclip-1.10.2.tar.gz + source: ./snap/local/rclip-1.10.3a18.tar.gz build-packages: - python3-pip build-environment: