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 6767 echo "swift_format_version=$SWIFT_FORMAT_VERSION" >> "$GITHUB_OUTPUT"
6868 - name : Checkout repository
6969 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
7073 - name : Create release commits
7174 id : create_release_commits
7275 run : |
8184 git add Package.swift
8285 git commit -m "Change swift-syntax dependency to ${{ steps.swift_syntax_tag.outputs.swift_syntax_tag }}"
8386
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-
8887 {
8988 echo 'release_commit_patch<<EOF'
9089 git format-patch "$BASE_COMMIT"..HEAD --stdout
You can’t perform that action at this time.
0 commit comments