File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9191 echo "- **Release version:** $RELEASE_VERSION" >> $GITHUB_STEP_SUMMARY
9292 echo "- **Next development version:** $DEV_VERSION" >> $GITHUB_STEP_SUMMARY
9393
94+ - name : Update documentation with release version
95+ run : |
96+ VERSION="${{ steps.versions.outputs.release_version }}"
97+
98+ # Update version in README.md
99+ sed -i "s|<version>[0-9]*\.[0-9]*\.[0-9]*</version>|<version>${VERSION}</version>|g" README.md
100+ sed -i "s|copilot-sdk:[0-9]*\.[0-9]*\.[0-9]*|copilot-sdk:${VERSION}|g" README.md
101+
102+ # Update version in jbang-example.java
103+ sed -i "s|copilot-sdk:[0-9]*\.[0-9]*\.[0-9]*|copilot-sdk:${VERSION}|g" jbang-example.java
104+
105+ # Stage the documentation changes (will be committed by release:prepare)
106+ git add README.md jbang-example.java
107+
94108 - name : Prepare Release
95109 run : |
96110 mvn -B release:prepare \
You can’t perform that action at this time.
0 commit comments