We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 145f5b7 commit 02798e1Copy full SHA for 02798e1
.github/workflows/build.yaml
@@ -32,13 +32,16 @@ jobs:
32
username: ${{ vars.DOCKERHUB_USERNAME }}
33
password: ${{ secrets.DOCKERHUB_TOKEN }}
34
35
+ - name: Get last tag
36
+ run: echo "TAG_LAST=$(git describe --tags --abbrev=0" >> $GITHUB_ENV
37
+
38
- name: "Build Changelog"
39
id: build_changelog
40
uses: mikepenz/release-changelog-builder-action@v5
41
with:
- fromTag: "@~2" # last commit
- toTag: "@" # this commit
- mode: "PR"
42
+ fromTag: "${{ env.TAG_LAST }}"
43
+ toTag: "${{ github.ref }}"
44
+ mode: "HYBRID"
45
outputFile: "CHANGELOG.md"
46
47
- name: Print CHANGELOG.md
0 commit comments