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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Read minimum Semgrep version
id: read-version
run: |
VERSION=$(cat semgrep-version)
VERSION=$(cat plugin/semgrep-version)
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "Minimum Semgrep version: $VERSION"

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Change Log
## 0.3.0
Fixed bug in SessionStart hook

## 0.2.0
Added a SessionStart hook for checking Semgrep version compatability

Expand Down
2 changes: 1 addition & 1 deletion plugin/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "semgrep-plugin",
"description": "Plugin by Semgrep. Allows Claude to use Semgrep via the MCP, hooks, and commands.",
"version": "0.2.0",
"version": "0.3.0",
"author": {
"name": "Semgrep"
}
Expand Down
2 changes: 1 addition & 1 deletion plugin/commands/setup_semgrep_plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ You are setting up Semgrep for Claude Code. Do the following in order and confir

4) Report back:
- Confirm Semgrep login/install status by running `semgrep --pro --version`
- Also check the Semgrep version in `${CLAUDE_PLUGIN_ROOT}/../semgrep-version` is lower
- Also check the Semgrep version in `${CLAUDE_PLUGIN_ROOT}/semgrep-version` is lower
than or equal to the version installed.

5) Tell the user that they are all set for using the Semgrep Plugin!
2 changes: 1 addition & 1 deletion plugin/scripts/check_version.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Path to required version file
REQUIRED_VERSION_FILE="${CLAUDE_PLUGIN_ROOT}/../semgrep-version"
REQUIRED_VERSION_FILE="${CLAUDE_PLUGIN_ROOT}/semgrep-version"
REQUIRED_VERSION=$(cat "$REQUIRED_VERSION_FILE" 2>/dev/null || echo "unknown")

# Get installed Semgrep version
Expand Down
File renamed without changes.