比较提交

...

2 次代码提交

作者 SHA1 备注 提交日期
2b601a5e44 Bump version: 1.2.2 → 1.2.3
所有检测均成功
Build and Publish Docker Image / build-and-push (push) Successful in 1m31s
2025-07-15 18:00:27 +01:00
12707cccc0 bump a push 2025-07-15 18:00:21 +01:00
共有 3 个文件被更改,包括 20 次插入2 次删除

查看文件

@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.2.2"
current_version = "1.2.3"
commit = true
tag = true
tag_name = "{new_version}"

查看文件

@ -1 +1 @@
1.2.2
1.2.3

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