Skip to content

Commit

Permalink
Fix retrieval of last released version (#2209)
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-dingemans committed Aug 26, 2023
1 parent 48d8b44 commit d3e449d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/generate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ jobs:
with:
gradle-home-cache-cleanup: true

- name: Get version
id: get_version
if: ${{ success() }}
run: echo "version=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- name: Get last released version
run: echo "version=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV

- name: "Build Changelog"
id: build_changelog
Expand Down

0 comments on commit d3e449d

Please sign in to comment.