Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude authored Nov 22, 2023
1 parent 5dcb880 commit d16c3f5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,19 @@ jobs:

- run: ./gradlew -Pversion=${{ github.ref_name }} writeVersionToExamples writeVersionToReadme setVersion nextMinorVersion snapshotVersion

- name: "update changelog"
run: |
gh api /repos/commercetools/commercetools-sdk-java-v2/releases --paginate > releases.json
node scripts/changelog.js > CHANGELOG.md
rm -rf releases.json
env:
GH_TOKEN: ${{ github.token }}

- name: "remove API reference commit SHA"
run: rm -rf reference.txt
continue-on-error: true


- uses: stefanzweifel/git-auto-commit-action@3d1b5e078a85df99db0cb2441cd4309b09d86253
with:
commit_message: "TASK: Updating version in README"
Expand Down

0 comments on commit d16c3f5

Please sign in to comment.