Skip to content

Commit f8c3433

Browse files
committed
param for previous tag
1 parent 00f408d commit f8c3433

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release_central.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
env:
1919
BRANCH: ${{ inputs.branch }}
2020
VERSION: ${{ inputs.version }}
21+
PREV_VERSION: ${{ inputs.prev_version }}
2122
DRY_RUN: ${{ inputs.dry_run }}
2223

2324
jobs:
@@ -79,7 +80,6 @@ jobs:
7980
echo ${{ inputs.version }} > config/version.txt
8081
sed -i '/static final String VERSION/s/".*"/"${{ inputs.version }}"/' java-client/src/main-flavored/java/co/elastic/clients/transport/VersionInfo.java
8182
82-
# TODO get {old-tag}
8383
- name: Creates new github release with version ${{ inputs.version }}
8484
uses: softprops/action-gh-release@v2
8585
with:
@@ -94,6 +94,6 @@ jobs:
9494
body: |
9595
## What's Changed
9696
97-
**Full Changelog**: https://github.com/elastic/elasticsearch-java/compare/v{old-tag}...v{{ inputs.version }}
97+
**Full Changelog**: https://github.com/elastic/elasticsearch-java/compare/v{{inputs.prev_version}}...v{{ inputs.version }}
9898
9999

0 commit comments

Comments
 (0)