Fix update change log automation (#5875)
This commit is contained in:
parent
e15dbea4a6
commit
7352e39e7e
|
@ -149,6 +149,8 @@ jobs:
|
|||
opentelemetry-javaagent.jar
|
||||
|
||||
- name: Update the change log with the release date
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
date=$(gh release view v$VERSION --json publishedAt --jq .publishedAt | sed 's/T.*//')
|
||||
sed -ri "s/## Version $VERSION .*/## Version $VERSION ($date)/" CHANGELOG.md
|
||||
|
|
Loading…
Reference in New Issue