Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/rust-lite-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,34 @@ permissions:
contents: read

jobs:
helper-version:
# Installs download the released helper pinned by herdr-annotate.version,
# so a rust/ change only reaches users after a version bump and release.
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: rust/ changes come with a helper version bump
run: |
version=$(tr -d '[:space:]' < herdr-annotate.version)
tag="rust-lite-v$version"
if [ -z "$(git tag -l 'rust-lite-v*')" ]; then
echo "::error::no rust-lite-v* tags fetched; cannot compare rust/ with the released helper"
exit 1
fi
if ! git rev-parse -q --verify "refs/tags/$tag" > /dev/null; then
echo "$tag is not released yet; treating herdr-annotate.version as bumped"
exit 0
fi
if ! git diff --quiet "$tag" HEAD -- rust/; then
git diff --stat "$tag" HEAD -- rust/
echo "::error::rust/ differs from $tag but herdr-annotate.version is still $version. Bump the helper version (herdr-annotate.version, rust/Cargo.toml, rust/Cargo.lock) so the change ships in a release."
exit 1
fi
echo "rust/ matches $tag"

check:
runs-on: ubuntu-latest
timeout-minutes: 15
Expand Down
2 changes: 1 addition & 1 deletion herdr-annotate.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.1
0.2.2
2 changes: 1 addition & 1 deletion herdr-plugin.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id = "annotate"
name = "Annotate"
version = "0.9.2"
version = "0.9.3"
min_herdr_version = "0.8.0"
description = "Comment on terminal selections and copy annotations as agent context."
platforms = ["linux", "macos", "windows"]
Expand Down
2 changes: 1 addition & 1 deletion links/herdr-plugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

id = "annotate-links"
name = "Annotate Links"
version = "0.9.2"
version = "0.9.3"
min_herdr_version = "0.8.0"
description = "Open Ctrl-clicked file:// Markdown links in Annotate (needs the Annotate Full plugin)."
platforms = ["linux", "macos", "windows"]
Expand Down
2 changes: 1 addition & 1 deletion lite/herdr-plugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

id = "annotate"
name = "Annotate"
version = "0.9.2"
version = "0.9.3"
min_herdr_version = "0.8.0"
description = "Comment on terminal selections and copy annotations as agent context."
platforms = ["linux", "macos", "windows"]
Expand Down
2 changes: 1 addition & 1 deletion rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "herdr-annotate"
version = "0.2.1"
version = "0.2.2"
edition = "2024"
rust-version = "1.96"
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions scripts/test-windows-full-manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ def check_distributed(path: Path, version_path: Path, native_version_path: Path)
check_native_lite(path, manifest)
if version_path.read_text(encoding="utf-8").strip() != "0.9.4":
fail(version_path, "plannotator-tui.version is not 0.9.4")
if native_version_path.read_text(encoding="utf-8").strip() != "0.2.1":
fail(native_version_path, "herdr-annotate.version is not 0.2.1")
if native_version_path.read_text(encoding="utf-8").strip() != "0.2.2":
fail(native_version_path, "herdr-annotate.version is not 0.2.2")

build_entries = builds(path, manifest)
if len(build_entries) != 3:
Expand Down
2 changes: 1 addition & 1 deletion windows-full/herdr-plugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

id = "annotate"
name = "Annotate"
version = "0.9.2"
version = "0.9.3"
min_herdr_version = "0.9.0"
description = "Comment on terminal selections and copy annotations as agent context."
platforms = ["windows"]
Expand Down
Loading