Skip to content

Commit 51193f7

Browse files
committed
Isolate Windows PowerShell installer smoke-test environment
1 parent d224476 commit 51193f7

5 files changed

Lines changed: 12 additions & 6 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 0.2.0
3+
## 0.2.1
44

55
- Replace the earlier Python implementation with a standalone Rust CLI.
66
- Automatically validate Agent Skills metadata and local Markdown links.

‎Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ryni"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2024"
55
repository = "https://github.com/computerlovetech/ryni"
66
description = "A linter for repository structure and agent documentation"

‎RELEASE.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ required. GitHub Actions uses the repository's automatic `GITHUB_TOKEN`.
1212
3. Tag that commit with the matching version and push just that tag:
1313

1414
```sh
15-
git tag v0.2.0
16-
git push origin v0.2.0
15+
git tag v0.2.1
16+
git push origin v0.2.1
1717
```
1818

1919
Use a new version for subsequent releases; do not replace published tags.
@@ -38,7 +38,7 @@ powershell -ExecutionPolicy Bypass -c "irm https://github.com/computerlovetech/r
3838
```
3939

4040
Rerun the command to update. To pin a release, replace `latest/download` with
41-
`download/v0.2.0`. Installers use `~/.local/bin` (the user's home directory on
41+
`download/v0.2.1`. Installers use `~/.local/bin` (the user's home directory on
4242
Windows too) and configure PATH. Follow their instructions to restart your
4343
terminal or activate PATH in the current shell. Rust is not needed.
4444

‎scripts/smoke_install.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ def main():
2626
root = Path(temporary)
2727
install_dir = root / "bin with spaces"
2828
env = os.environ.copy()
29+
if windows:
30+
# Python inherits PowerShell 7's module path on GitHub runners.
31+
# Let Windows PowerShell reconstruct its own compatible paths.
32+
for key in list(env):
33+
if key.lower() == "psmodulepath":
34+
del env[key]
2935
env["RYNI_DOWNLOAD_URL"] = f"http://127.0.0.1:{server.server_port}"
3036
env["RYNI_UNMANAGED_INSTALL"] = str(install_dir)
3137
env["RYNI_NO_MODIFY_PATH"] = "1"

0 commit comments

Comments
 (0)