2 Star 0 Fork 0

mirrors_influxdata/flux-lsp-cli

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tag-release.sh 634 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
hub_installed=$(command -v hub)
if [[ ! $hub_installed ]]; then
echo "Please install the hub command line tool before running this script."
echo "https://github.com/github/hub"
exit 1
fi
new_version=v$(grep -Eom 1 "([0-9]{1,}\.)+[0-9]{1,}" package.json)
git tag -a -s $new_version -m "Release $new_verion"
git push origin master $new_version
lsp_version=v$(grep -m 1 '"@influxdata/flux-lsp-node":' package.json | grep -Eo "([0-9]{1,}\.)+[0-9]{1,}")
hub release create $new_version -m "Release $new_version
- Upgrade to [Flux LSP $lsp_version](https://github.com/influxdata/flux-lsp/releases/tag/$lsp_version)" -e
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_influxdata/flux-lsp-cli.git
git@gitee.com:mirrors_influxdata/flux-lsp-cli.git
mirrors_influxdata
flux-lsp-cli
flux-lsp-cli
master

搜索帮助