Skip to content

Commit aa3bd1f

Browse files
authored
fix makefile to not spam releases for feature/dynamodb/attributevalue (#2885)
1 parent eb96051 commit aa3bd1f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,13 @@ sync-api-models:
215215

216216
copy-attributevalue-feature:
217217
cd ./feature/dynamodbstreams/attributevalue && \
218-
find . -name "*.go" | grep -v "doc.go" | xargs -I % rm % && \
219-
find ../../dynamodb/attributevalue -name "*.go" | grep -v "doc.go" | xargs -I % cp % . && \
220-
ls *.go | grep -v "convert.go" | grep -v "doc.go" | \
218+
find . -name "*.go" | grep -v "doc.go" | grep -v "go_module_metadata.go" | xargs -I % rm % && \
219+
find ../../dynamodb/attributevalue -name "*.go" | grep -v "doc.go" | grep -v "go_module_metadata.go" | xargs -I % cp % . && \
220+
ls *.go | grep -v "convert.go" | grep -v "doc.go" | grep -v "go_module_metadata.go" | \
221221
xargs -I % sed -i.bk -E 's:github.com/aws/aws-sdk-go-v2/(service|feature)/dynamodb:github.com/aws/aws-sdk-go-v2/\1/dynamodbstreams:g' % && \
222-
ls *.go | grep -v "convert.go" | grep -v "doc.go" | \
222+
ls *.go | grep -v "convert.go" | grep -v "doc.go" | grep -v "go_module_metadata.go" | \
223223
xargs -I % sed -i.bk 's:DynamoDB:DynamoDBStreams:g' % && \
224-
ls *.go | grep -v "doc.go" | \
224+
ls *.go | grep -v "doc.go" | grep -v "go_module_metadata.go" | \
225225
xargs -I % sed -i.bk 's:dynamodb\.:dynamodbstreams.:g' % && \
226226
sed -i.bk 's:streams\.:ddbtypes.:g' "convert.go" && \
227227
sed -i.bk 's:ddb\.:streams.:g' "convert.go" && \

0 commit comments

Comments
 (0)