Skip to content

Commit a267cb7

Browse files
committed
fix release_central.yml
1 parent 95d54e7 commit a267cb7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release_central.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,13 @@ jobs:
8282
token: ${{ steps.fetch-ephemeral-token.outputs.token }}
8383
ref: ${{ inputs.branch }}
8484
path: elasticsearch-java
85-
# TODO git push after making sure the version bump works
8685
run: |
8786
git tag v${{ inputs.version }}
8887
git push origin v${{ inputs.version }}
8988
echo ${{ inputs.version }} > config/version.txt
9089
sed -i '/static final String VERSION/s/".*"/"${{ inputs.version }}"/' java-client/src/main-flavored/java/co/elastic/clients/transport/VersionInfo.java
90+
git commit -m "bump version" -a
91+
git push origin ${{ inputs.branch }}
9192
9293
- name: Creates new github release with version ${{ inputs.version }}
9394
uses: softprops/action-gh-release@v2
@@ -103,6 +104,6 @@ jobs:
103104
body: |
104105
## What's Changed
105106
106-
**Full Changelog**: https://github.com/elastic/elasticsearch-java/compare/v{{inputs.prev_version}}...v{{ inputs.version }}
107+
**Full Changelog**: https://github.com/elastic/elasticsearch-java/compare/v${{inputs.prev_version}}...v${{ inputs.version }}
107108
108109

0 commit comments

Comments
 (0)