Skip to content

Commit

Permalink
ci: workflow error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanYuuki authored Nov 19, 2024
1 parent 73782f0 commit 01aa768
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
run: |
git fetch --tags
tags=$(git tag -l)
echo "tags=$tags" >> $GITHUB_ENV
echo "Tags found: $tags" # For debugging
echo "::set-output name=tags::$tags" # Set output for the next step
- name: Generate Changelog
run: |
Expand All @@ -31,7 +32,7 @@ jobs:
# Iterate through each tag and grab commits between versions
prev_tag=""
for tag in $(echo $tags | tr " " "\n"); do
for tag in ${{ steps.tags.outputs.tags }}; do
if [ -z "$prev_tag" ]; then
# For the first tag, get commits from the initial commit to the tag
echo "## $tag" >> CHANGELOG.md
Expand Down

0 comments on commit 01aa768

Please sign in to comment.