Skip to content

Commit 35058fd

Browse files
da-liiiclaude
andcommitted
[200_69] remove workflow self-update from ci_bump_version
- Remove sed command that tries to update workflow file itself - Simplify version input description (cannot show current version) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3efe528 commit 35058fd

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/ci_bump_version.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
inputs:
66
version:
7-
description: '新版本号 (当前版本是 17.11.47)'
7+
description: '新版本号'
88
required: true
99

1010
jobs:
@@ -40,9 +40,6 @@ jobs:
4040
# Update xmake.lua
4141
sed -i "s/^set_version (\"[^\"]*\")/set_version (\"${{ env.NEW_VERSION }}\")/" xmake.lua
4242
43-
# Update ci_bump_version.yml description
44-
sed -i 's/当前版本是 [0-9]\+\.[0-9]\+\.[0-9]\+/当前版本是 ${{ env.NEW_VERSION }}/' .github/workflows/ci_bump_version.yml
45-
4643
# Update src/goldfish.hpp
4744
sed -i "s/#define GOLDFISH_VERSION \"[^\"]*\"/#define GOLDFISH_VERSION \"${{ env.NEW_VERSION }}\"/" src/goldfish.hpp
4845

0 commit comments

Comments
 (0)