Skip to content

Commit

Permalink
version tag fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phoepsilonix committed Apr 23, 2024
1 parent 460c50f commit ae118e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
echo "tag_name=${TAG}" >> $GITHUB_OUTPUT
echo "tag_commit=$(git log -1 --pretty=%H $TAG)" >> $GITHUB_OUTPUT
else
TAG=${{ steps.variables.outputs.version }}
echo "tag_name=$(git describe --tags --always $TAG)" >> $GITHUB_OUTPUT
echo "tag_commit=$(git log -1 --pretty=%H $TAG)" >> $GITHUB_OUTPUT
fi
Expand All @@ -72,7 +73,7 @@ jobs:
run: |
{
echo "release_note<<EOF"
echo "$(cd pulldown-cmark && git log --pretty=format:"%C(yellow)commit %H%C(auto)%d%nAuthor: %an%nDate: %ad%n%n%s%n%n%b" -1 ${{ steps.variables.outputs.version }})"
echo "$(cd zig-release && git log --pretty=format:"%C(yellow)commit %H%C(auto)%d%nAuthor: %an%nDate: %ad%n%n%s%n%n%b" -1 ${{ steps.variables.outputs.version }})"
echo "EOF"
} >> $GITHUB_OUTPUT
- name: test
Expand Down

0 comments on commit ae118e9

Please sign in to comment.