Skip to content

Commit

Permalink
tag flow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phoepsilonix committed Apr 17, 2024
1 parent b168d71 commit 678afb8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,20 @@ jobs:
TAG=$base_tag
fi
echo "tag_name=" $TAG
git tag $TAG
git push origin $TAG
echo $TAG
echo "tag_name=${TAG}" >> $GITHUB_OUTPUT
echo "tag_commit=$(git log -1 --pretty=%H $TAG)" >> $GITHUB_OUTPUT
else
echo "tag_name=$(git describe --tags --always $TAG)" >> $GITHUB_OUTPUT
echo "tag_commit=$(git log -1 --pretty=%H $TAG)" >> $GITHUB_OUTPUT
fi
git describe --tags --always ${{ steps.variables.outputs.tag_name }}| sed -e 's/-g.*$//g' -e 's/-/+/g' > version.txt
cd ../pulldown-cmark
echo $TAG | sed -e 's/-g.*$//g' -e 's/-/+/g' > version.txt
cat version.txt
- name: Generate release tag
id: release_tag
run: |
echo "release_tag=$(cat pulldown-cmark/version.txt)" >> $GITHUB_OUTPUT
echo "release_tag=$(cat zig-release/version.txt)" >> $GITHUB_OUTPUT
- name: Generate release note
id: release_note
run: |
Expand Down

0 comments on commit 678afb8

Please sign in to comment.