Skip to content

Commit f9f2e8b

Browse files
authored
Merge pull request #799 from doringeman/squeeze-docs-go-mod
ci(release): squeeze extra blank lines in docs go.mod
2 parents 660346c + 000c1c2 commit f9f2e8b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ jobs:
572572
# Remove the second require block added by `go get` — the docs repo
573573
# only needs the direct dependency in the first require block.
574574
awk '/^require \(/{n++} n==2{if(/^\)/) n=3; next} n!=2' go.mod > go.mod.tmp && mv go.mod.tmp go.mod
575+
cat -s go.mod > go.mod.tmp && mv go.mod.tmp go.mod
575576
576577
- name: Create pull request
577578
if: steps.check-docs.outputs.changed == 'true'

0 commit comments

Comments
 (0)