未验证 提交 bb2b0b50 编写于 作者: A alexey-milovidov 提交者: GitHub

Merge pull request #14173 from ClickHouse/fix_list_versions

Make list-versions.sh able to work with ancient git
#!/bin/bash
git tag --list | grep -P 'v.+-(stable|lts)' | sort -V | xargs git show --format='%ai' --no-patch | awk '/^v/ { version = $1 } /^[0-9]+/ { date = $1 } { if (version && date) { print version "\t" date; version = ""; date = ""; } }' | tac
git tag --list | grep -P 'v.+-(stable|lts)' | sort -V | xargs git show --format='%ai' | awk '/^v/ { version = $1 } /^[0-9]+/ { date = $1 } { if (version && date) { print version "\t" date; version = ""; date = ""; } }' | tac
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册