Skip to content

Commit

Permalink
💚ci: Still doesn't work.
Browse files Browse the repository at this point in the history
  • Loading branch information
kokofixcomputers authored Dec 1, 2024
1 parent 191c098 commit 9c92f48
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,18 @@ jobs:
with:
fetch-depth: 0 # Fetch all history to access tags

- name: Get Latest Tag
id: get_latest_tag
run: |
echo "LATEST_TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
- name: Build Changelog
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v5
with:
mode: "COMMIT" # Use commit-based mode
base: main
fromTag: ${{ env.LATEST_TAG }} # Use the latest tag found in the previous step
toTag: main # Compare to the main branch
configurationJson: |
{
"template": "# Changelog\n\n{{CHANGELOG}}",
Expand Down

0 comments on commit 9c92f48

Please sign in to comment.