Skip to content

Commit 0d1b0dc

Browse files
brunoborgesCopilot
andauthored
Update .github/workflows/publish-maven.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 86593d0 commit 0d1b0dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
124124
# Update version in jbang-example.java
125125
sed -i "s|copilot-sdk-java:[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\(-java\.[0-9][0-9]*\)\{0,1\}|copilot-sdk-java:${VERSION}|g" jbang-example.java
126-
sed -i "s|copilot-sdk-java:\${project\.version}|copilot-sdk-java:${VERSION}|g" jbang-example.java
126+
sed -i 's|copilot-sdk-java:${project\.version}|copilot-sdk-java:'"${VERSION}"'|g' jbang-example.java
127127
128128
# Update version in cookbook files (hardcoded for direct GitHub browsing and JBang usage)
129129
find src/site/markdown/cookbook -name "*.md" -type f -exec \

0 commit comments

Comments
 (0)