Skip to content

Commit

Permalink
release: v1.11.1a57
Browse files Browse the repository at this point in the history
  • Loading branch information
yurijmikhalevich committed Feb 18, 2025
1 parent b322b91 commit 8732be4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
25 changes: 3 additions & 22 deletions .github/actions/test-system-rclip-windows/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,9 @@ runs:
shell: powershell
- name: Print tested rclip version (Windows)
run: |
Import-Module "$env:ChocolateyInstall/helpers/chocolateyInstaller.psm1"
refreshenv
which rclip
rclip --version
shell: powershell
shell: powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -Command "$env:Path = [Environment]::GetEnvironmentVariable('Path', 'Machine') + ';' + [Environment]::GetEnvironmentVariable('Path', 'User'); & {0}"
- name: Run e2e tests on the rclip installed system-wide (Windows)
run: |
powershell -NonInteractive - <<\EOF
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
Update-SessionEnvironment
# Round brackets in variable names cause problems with bash
Get-ChildItem env:* | %{
if (!($_.Name.Contains('('))) {
$value = $_.Value
if ($_.Name -eq 'PATH') {
$value = $value -replace ';',':'
}
Write-Output ("export " + $_.Name + "='" + $value + "'")
}
} | Out-File -Encoding ascii $env:TEMP\refreshenv.sh
EOF
source "$TEMP/refreshenv.sh"
RCLIP_TEST_RUN_SYSTEM_RCLIP=true poetry run pytest tests/e2e
shell: bash
run: make test-system-rclip
shell: powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -Command "$env:Path = [Environment]::GetEnvironmentVariable('Path', 'Machine') + ';' + [Environment]::GetEnvironmentVariable('Path', 'User'); & {0}"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "rclip"
version = "1.11.1a56"
version = "1.11.1a57"
description = "AI-Powered Command-Line Photo Search Tool"
authors = ["Yurij Mikhalevich <[email protected]>"]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.1a56
version: 1.11.1a57
website: https://github.com/yurijmikhalevich/rclip
contact: [email protected]
passthrough:
Expand All @@ -28,7 +28,7 @@ apps:
parts:
rclip:
plugin: python
source: ./snap/local/rclip-1.11.1a56.tar.gz
source: ./snap/local/rclip-1.11.1a57.tar.gz
build-packages:
- python3-pip
build-environment:
Expand Down

0 comments on commit 8732be4

Please sign in to comment.