File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 67
67
echo "swift_format_version=$SWIFT_FORMAT_VERSION" >> "$GITHUB_OUTPUT"
68
68
- name : Checkout repository
69
69
uses : actions/checkout@v4
70
+ - name : Check version updated
71
+ run : |
72
+ grep '"${{ steps.swift_format_version.outputs.swift_format_version }}"' Sources/swift-format/PrintVersion.swift
70
73
- name : Create release commits
71
74
id : create_release_commits
72
75
run : |
81
84
git add Package.swift
82
85
git commit -m "Change swift-syntax dependency to ${{ steps.swift_syntax_tag.outputs.swift_syntax_tag }}"
83
86
84
- sed -E -i "s#print\(\".*\"\)#print\(\"${{ steps.swift_format_version.outputs.swift_format_version }}\"\)#" Sources/swift-format/PrintVersion.swift
85
- git add Sources/swift-format/PrintVersion.swift
86
- git commit -m "Change version to ${{ steps.swift_format_version.outputs.swift_format_version }}"
87
-
88
87
{
89
88
echo 'release_commit_patch<<EOF'
90
89
git format-patch "$BASE_COMMIT"..HEAD --stdout
You can’t perform that action at this time.
0 commit comments