Skip to content

Commit

Permalink
feat: Using --latest
Browse files Browse the repository at this point in the history
  • Loading branch information
gcarreno committed Sep 1, 2023
1 parent 07ed9a4 commit 615c6d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.lazarus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
config: '{
"app-name": "helloworld",
"tag": "${{ github.ref_name }}",
"cliff-cfg": "cliff.toml",
"win": "${{ needs.build.outputs.win-artefact-path }}",
"lin": "${{ needs.build.outputs.lin-artefact-path }}",
"osx": "${{ needs.build.outputs.osx-artefact-path }}"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.lazarus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
run: |
echo "app-name=${{ fromJSON(inputs.config).app-name }}" >> "$GITHUB_ENV"
echo "tag=${{ fromJSON(inputs.config).tag }}" >> "$GITHUB_ENV"
echo "cliff-cfg=${{ fromJSON(inputs.config).cliff-cfg }}" >> "$GITHUB_ENV"
echo "win=${{ fromJSON(inputs.config).win }}" >> "$GITHUB_ENV"
echo "lin=${{ fromJSON(inputs.config).lin }}" >> "$GITHUB_ENV"
echo "osx=${{ fromJSON(inputs.config).osx }}" >> "$GITHUB_ENV"
Expand Down Expand Up @@ -66,8 +67,8 @@ jobs:
id: git-cliff
uses: orhun/git-cliff-action@v2
with:
config: cliff.toml
args: --verbose --current
config: ${{ env.cliff-cfg }}
args: --verbose --latest
env:
OUTPUT: CHANGES.md

Expand Down

0 comments on commit 615c6d2

Please sign in to comment.