比较提交
2 次代码提交
4a3c21568b
...
2b601a5e44
| 作者 | SHA1 | 提交日期 | |
|---|---|---|---|
| 2b601a5e44 | |||
| 12707cccc0 |
@ -1,5 +1,5 @@
|
|||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "1.2.2"
|
current_version = "1.2.3"
|
||||||
commit = true
|
commit = true
|
||||||
tag = true
|
tag = true
|
||||||
tag_name = "{new_version}"
|
tag_name = "{new_version}"
|
||||||
|
|||||||
18
bump_and_push.sh
普通文件
18
bump_and_push.sh
普通文件
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# Check if an argument is provided
|
||||||
|
if [ -z "$1" ]; then
|
||||||
|
echo "Usage: $0 <part>"
|
||||||
|
echo "Example: $0 patch"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
PART=$1
|
||||||
|
|
||||||
|
# Bump the version
|
||||||
|
bump-my-version bump $PART
|
||||||
|
|
||||||
|
# Push the changes
|
||||||
|
git push
|
||||||
|
git push origin --tags
|
||||||
正在加载...
x
在新工单中引用
屏蔽一个用户