name: Git Tag desciption: Tag commit with version number runs: using: composite container: alpine/git steps: - run: | $TAG=$($(cat package.json || git describe) | grep version | grep -Eo ':.+' | grep -Eo '[[:alnum:]\.\/\-]+') git tag -f "$TAG" "$GITHUB_SHA" git push -f origin "$TAG"