Skip to content

Commit

Permalink
release: v1.11.1a60
Browse files Browse the repository at this point in the history
  • Loading branch information
yurijmikhalevich committed Feb 20, 2025
1 parent 0bbd9cd commit cc910d5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
17 changes: 6 additions & 11 deletions .github/actions/test-system-rclip/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ inputs:
required: false
default: '3.10'

env:
# on Windows, we manually load latest PATH to ensure that the action will be
# able to find the system rclip
WINDOWS_SHELL: powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -Command "$env:Path = [Environment]::GetEnvironmentVariable('Path', 'Machine') + ';' + [Environment]::GetEnvironmentVariable('Path', 'User'); & {0}"
# passing `-ieo pipefail` to the shell to ensure it reads `.bashrc`
UNIX_SHELL: bash -ieo pipefail {0}

runs:
using: 'composite'
steps:
Expand All @@ -28,12 +21,14 @@ runs:
python -m pip install --upgrade pip
pip install --upgrade poetry
poetry install --no-root --only dev
# here and below, passing `-ieo pipefail` to the shell to ensure it reads `.bashrc`
shell: ${{ runner.os == 'Windows' && env.WINDOWS_SHELL || env.UNIX_SHELL }}
# here and below, on Windows, we set the latest PATH to ensure that the
# action can find system rclip
# on other OSes, we pass -ieo pipefail to bash to ensure it reads the .bashrc
shell: ${{ runner.os == 'Windows' && 'powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -Command "$env:Path = [Environment]::GetEnvironmentVariable(''Path'', ''Machine'') + '';'' + [Environment]::GetEnvironmentVariable(''Path'', ''User''); & {0}"' || 'bash -ieo pipefail {0}' }}
- name: Print tested rclip version
run: |
which rclip
rclip --version
shell: ${{ runner.os == 'Windows' && env.WINDOWS_SHELL || env.UNIX_SHELL }}
shell: ${{ runner.os == 'Windows' && 'powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -Command "$env:Path = [Environment]::GetEnvironmentVariable(''Path'', ''Machine'') + '';'' + [Environment]::GetEnvironmentVariable(''Path'', ''User''); & {0}"' || 'bash -ieo pipefail {0}' }}
- run: make test-system-rclip
shell: ${{ runner.os == 'Windows' && env.WINDOWS_SHELL || env.UNIX_SHELL }}
shell: ${{ runner.os == 'Windows' && 'powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -Command "$env:Path = [Environment]::GetEnvironmentVariable(''Path'', ''Machine'') + '';'' + [Environment]::GetEnvironmentVariable(''Path'', ''User''); & {0}"' || 'bash -ieo pipefail {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.1a59"
version = "1.11.1a60"
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.1a59
version: 1.11.1a60
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.1a59.tar.gz
source: ./snap/local/rclip-1.11.1a60.tar.gz
build-packages:
- python3-pip
build-environment:
Expand Down

0 comments on commit cc910d5

Please sign in to comment.