Skip to content

Commit

Permalink
Remove go.sum files before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrbradley committed Aug 31, 2022
1 parent 105dde3 commit 5c3076e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -184,6 +184,7 @@ build_go::

prepublish_go:
find sdk/pulumi-azure-native-sdk -name go.mod -type f -exec sed -i '' '/replace github\.com\/pulumi\/pulumi-azure-native-sdk /d' {} \;
find sdk/pulumi-azure-native-sdk -name go.sum -type f -exec rm "{}" \;

clean::
rm -rf $$(find sdk/nodejs -mindepth 1 -maxdepth 1 ! -name "go.mod")
Expand Down

0 comments on commit 5c3076e

Please sign in to comment.