Update git/tag/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 00:57:32 +00:00
parent 4057a7e2ce
commit 565f108007

View File

@ -6,6 +6,7 @@ runs:
container: alpine/git
steps:
- run: |
$TAG=$($(cat package.json || git describe) | grep version | grep -Eo ':.+' | grep -Eo '[[:alnum:]\.\/\-]+')
$TAG=$(git describe)
echo "$TAG"
git tag -f "$TAG" "$GITHUB_SHA"
git push -f origin "$TAG"