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 83885d4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,15 @@ 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
Expand Down

0 comments on commit 83885d4

Please sign in to comment.