Skip to content

Commit 8b5615a

Browse files
Your Nameclaude
andcommitted
Fix version extraction in CI (use sed instead of grep -P)
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 021117f commit 8b5615a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Get version
3939
id: version
4040
run: |
41-
VERSION=$(grep -oP 'VERSION="\K[^"]+' agent-persona)
41+
VERSION=$(sed -n 's/^VERSION="\([^"]*\)".*/\1/p' agent-persona)
4242
echo "version=$VERSION" >> $GITHUB_OUTPUT
4343
4444
- name: Check if tag exists

0 commit comments

Comments
 (0)