3 Star 2 Fork 1

Gitee 极速下载/patroni

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/zalando/patroni
克隆/下载
release.sh 850 Bytes
一键复制 编辑 原始数据 按行查看 历史
Alexander Kukushkin 提交于 2023-06-22 04:46 . Release v3.0.3 (#2719)
#!/bin/bash
# Release process:
# 1. Open a PR that updates release notes, Patroni version and pyright version in the tests workflow.
# 2. Resolve possible typing issues.
# 3. Merge the PR.
# 4. Run release.sh
# 5. After the new tag is pushed, the .github/workflows/release.yaml will run tests and upload the new package to test.pypi.org
# 6. Once the release is created, the .github/workflows/release.yaml will run tests and upload the new package to pypi.org
## Bail out on any non-zero exitcode from the called processes
set -xe
if python3 --version &> /dev/null; then
alias python=python3
shopt -s expand_aliases
fi
python --version
git --version
version=$(python -c 'from patroni.version import __version__; print(__version__)')
python setup.py clean
python setup.py test
python setup.py flake8
git tag "v$version"
git push --tags
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mirrors/patroni.git
[email protected]:mirrors/patroni.git
mirrors
patroni
patroni
master

搜索帮助