Skip to content

Commit

Permalink
fix: generate script now no longer changes mod files
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdelahunt committed Jan 25, 2023
1 parent 6a04ca9 commit c6e2736
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/generate-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,9 @@ then
OUTPUT_PATH="app-services-sdk-go/smarteventsmgmt/apiv1alpha/client"
generate_sdk $OPENAPI_FILENAME $OUTPUT_PATH $PACKAGE_NAME
fi

# this hack is due to the api generator not ignoring the correct files
# so we need to revert the changes it does on these files. It ignores
# the other mod files but for some reason it decides to change this
git restore app-services-sdk-go/accountmgmt/apiv1/client/go.mod
git restore app-services-sdk-go/accountmgmt/apiv1/client/go.sum

0 comments on commit c6e2736

Please sign in to comment.