Skip to content

Commit

Permalink
Fine-tuning tags
Browse files Browse the repository at this point in the history
git describe --tags <COMMIT> or <TAG>
  • Loading branch information
phoepsilonix committed Apr 12, 2024
1 parent 119fc64 commit 79094b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ jobs:
run: |
cd pulldown-cmark
git fetch origin master --tags
git checkout --detach ${{ steps.variables.outputs.version }}
git describe --tags --always HEAD| sed -e 's/-g.*$//g' -e 's/-/+/g' > version.txt
git describe --tags --always ${{ steps.variables.outputs.version }}| 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 79094b0

Please sign in to comment.