Skip to content

Commit 60d3085

Browse files
authored
Merge pull request #35 from edburns/edburns/dd-2758073-0.2.1
On branch edburns/dd-2758073-0.2.1 Work on releasing 0.2.1.
2 parents 9bf1119 + d94cd14 commit 60d3085

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/publish-maven.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,9 @@ jobs:
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
126126
127-
# Update version in cookbook files (Maven will filter ${project.version} during site generation,
128-
# but we also need the actual version for direct JBang usage)
127+
# Update version in cookbook files (hardcoded for direct GitHub browsing and JBang usage)
129128
find src/site/markdown/cookbook -name "*.md" -type f -exec \
130-
sed -i "s|\${project.version}|${VERSION}|g" {} \;
129+
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" {} \;
131130
132131
# Commit the documentation changes before release:prepare (requires clean working directory)
133132
git add CHANGELOG.md README.md jbang-example.java src/site/markdown/cookbook/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Snapshot builds of the next development version are published to Maven Central S
5353
<dependency>
5454
<groupId>com.github</groupId>
5555
<artifactId>copilot-sdk-java</artifactId>
56-
<version>0.1.33-java.0-SNAPSHOT</version>
56+
<version>0.2.1-java.0-SNAPSHOT</version>
5757
</dependency>
5858
```
5959

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<groupId>com.github</groupId>
99
<artifactId>copilot-sdk-java</artifactId>
10-
<version>0.1.33-java.0-SNAPSHOT</version>
10+
<version>0.2.1-java.0-SNAPSHOT</version>
1111
<packaging>jar</packaging>
1212

1313
<name>GitHub Copilot SDK :: Java</name>

0 commit comments

Comments
 (0)