Skip to content

Commit 577c4e5

Browse files
authored
docs: point onboarding to published v0.9.4 release (#52)
Co-authored-by: Mresyzz <Mresyzz@users.noreply.github.com>
1 parent fcc2912 commit 577c4e5

6 files changed

Lines changed: 17 additions & 17 deletions

File tree

‎.github/workflow-templates/opsscript-gate.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
persist-credentials: false
2626

2727
- name: Run OpsScript Gate
28-
uses: Mresyzz/opsscript-gate@v0.9.2
28+
uses: Mresyzz/opsscript-gate@v0.9.4
2929
with:
3030
shell: auto
3131
network: none

‎README.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ apt-get --version
4848
Run it locally with `opsscript-gate run ./install.sh`, or add the following step to CI:
4949

5050
```yaml
51-
- uses: Mresyzz/opsscript-gate@v0.9.2
51+
- uses: Mresyzz/opsscript-gate@v0.9.4
5252
with:
5353
script-path: install.sh
5454
```
@@ -57,7 +57,7 @@ The result identifies the failing distribution, exit code, line, missing command
5757

5858
---
5959

60-
## Current version: v0.9.2 (local candidate)
60+
## Current release: v0.9.4
6161

6262
The current release includes a project config file, a dry-run plan, presets, exclusions,
6363
saved reports, changed-script selection for pull requests, and repeat runs for detecting
@@ -111,7 +111,7 @@ jobs:
111111
- uses: actions/checkout@v7
112112
with:
113113
persist-credentials: false
114-
- uses: Mresyzz/opsscript-gate@v0.9.2
114+
- uses: Mresyzz/opsscript-gate@v0.9.4
115115
```
116116

117117
This zero-configuration form discovers shell scripts in the repository. Use
@@ -122,7 +122,7 @@ repository has a single installer. For self-hosted model installers, see the
122122
Or test a specific script with custom execution modes:
123123

124124
```yaml
125-
- uses: Mresyzz/opsscript-gate@v0.9.2
125+
- uses: Mresyzz/opsscript-gate@v0.9.4
126126
with:
127127
script-path: scripts/install.sh
128128
shell: auto
@@ -156,7 +156,7 @@ unrelated scripts:
156156
with:
157157
persist-credentials: false
158158
fetch-depth: 0
159-
- uses: Mresyzz/opsscript-gate@v0.9.2
159+
- uses: Mresyzz/opsscript-gate@v0.9.4
160160
with:
161161
changed-since: ${{ github.event.pull_request.base.sha }}
162162
preset: minimal
@@ -247,7 +247,7 @@ Use `sarif` when the result should appear in GitHub Code Scanning or another
247247
SARIF-compatible viewer. Upload it explicitly with the official upload action:
248248

249249
```yaml
250-
- uses: Mresyzz/opsscript-gate@v0.9.2
250+
- uses: Mresyzz/opsscript-gate@v0.9.4
251251
with:
252252
script-path: scripts/install.sh
253253
format: sarif

‎README.zh-CN.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Bash 依赖、包管理器假设和交互式阻塞。它与 ShellCheck 互补。
1717

1818
也可以直接打开 [OpsScript Gate 在线演示](https://mresyzz.github.io/opsscript-gate/),先查看 ShellCheck 与运行时验证的差异,再复制 workflow 到自己的仓库。
1919

20-
## 当前版本 v0.9.2
20+
## 当前版本 v0.9.4
2121

22-
v0.9.2 是当前本地候选版本;如果你要从源码验证当前分支,也可以执行:
22+
v0.9.4 是当前已发布版本;如果你要从源码验证当前分支,也可以执行:
2323

2424
```bash
2525
pip install -e .
@@ -35,7 +35,7 @@ opsscript-gate run --dry-run
3535
opsscript-gate run --format json --output reports/compatibility.json
3636
```
3737

38-
`init` 生成配置和 GitHub 工作流,不覆盖已有文件。工作流引用 `v0.9.2`。
38+
`init` 生成配置和 GitHub 工作流,不覆盖已有文件。工作流引用 `v0.9.4`。
3939
预览不需要 Docker;真实运行需要 Python 3.10+
4040
和可访问的 Linux Docker 引擎。
4141
`opsscript-gate doctor` 可以在真实运行前检查 Python 和 Docker。
@@ -74,7 +74,7 @@ Docker daemon 和可选的项目配置。
7474
- uses: actions/checkout@v7
7575
with:
7676
fetch-depth: 0
77-
- uses: Mresyzz/opsscript-gate@v0.9.2
77+
- uses: Mresyzz/opsscript-gate@v0.9.4
7878
with:
7979
changed-since: ${{ github.event.pull_request.base.sha }}
8080
preset: minimal

‎docs/index.html‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
OpsScript Gate
254254
</span>
255255
<span class="font-mono text-[11px] px-1.5 py-0.5 rounded bg-[var(--surface-muted)] text-[var(--text-muted)] border border-[var(--border-light)]">
256-
v0.9.2
256+
v0.9.4
257257
</span>
258258
</div>
259259
</div>
@@ -391,7 +391,7 @@ <h2 class="font-serif text-xl text-[var(--text-hero)] font-medium">
391391
<div class="panel-card p-4 flex flex-col justify-between space-y-3">
392392
<div class="space-y-2.5">
393393
<div class="flex items-center justify-between border-b border-[var(--border-light)] pb-2">
394-
<span class="font-mono text-xs font-medium text-[var(--text-muted)]">OpsScript Gate Runtime (v0.9.2)</span>
394+
<span class="font-mono text-xs font-medium text-[var(--text-muted)]">OpsScript Gate Runtime (v0.9.4)</span>
395395
<span id="ops-status" class="font-mono text-xs font-semibold px-2 py-0.5 rounded border">
396396
1 DISTRO FAILED
397397
</span>
@@ -560,7 +560,7 @@ <h3 class="font-serif text-xl text-[var(--text-hero)] font-medium">
560560
<span class="font-semibold text-[var(--text-hero)]">steps:</span>
561561
- <span class="font-semibold text-[var(--text-hero)]">uses:</span> actions/checkout@v4
562562
- <span class="font-semibold text-[var(--text-hero)]">name:</span> Validate scripts across distributions
563-
<span class="font-semibold text-[var(--brand)]">uses:</span> Mresyzz/opsscript-gate@v0.9.2
563+
<span class="font-semibold text-[var(--brand)]">uses:</span> Mresyzz/opsscript-gate@v0.9.4
564564
<span class="font-semibold text-[var(--text-hero)]">with:</span>
565565
<span class="text-[var(--text-body)]">script-path:</span> ./install.sh
566566
<span class="text-[var(--text-body)]">shell:</span> auto
@@ -628,7 +628,7 @@ <h3 class="font-serif text-2xl sm:text-3xl text-[var(--text-hero)] font-normal t
628628
steps:
629629
- uses: actions/checkout@v4
630630
- name: Validate scripts across distributions
631-
uses: Mresyzz/opsscript-gate@v0.9.2
631+
uses: Mresyzz/opsscript-gate@v0.9.4
632632
with:
633633
script-path: ./install.sh
634634
shell: auto

‎examples/github-actions/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
This example shows a GitHub Actions workflow for checking a shell script on pull requests.
44

5-
Copy `workflow.yml` into your repository at `.github/workflows/script-gate.yml` and point `script-path` to the script you want to validate. The example targets the local v0.9.2 candidate; change the tag to a published release before using it from another repository.
5+
Copy `workflow.yml` into your repository at `.github/workflows/script-gate.yml` and point `script-path` to the script you want to validate. The example uses the published v0.9.4 release.

‎examples/github-actions/workflow.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
persist-credentials: false
2020

2121
- name: Run OpsScript Gate
22-
uses: Mresyzz/opsscript-gate@v0.9.2
22+
uses: Mresyzz/opsscript-gate@v0.9.4
2323
with:
2424
script-path: 'scripts/deploy.sh'
2525
shell: auto

0 commit comments

Comments
 (0)