Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(submodule): bump submodule & add mkdir for ${WORK_DIR} #1543

Merged
merged 2 commits into from
Oct 28, 2022

Conversation

haarchri
Copy link
Member

@haarchri haarchri commented Oct 27, 2022

Signed-off-by: haarchri chhaar30@googlemail.com

Description of your changes

bump submodule & add mkdir for ${WORK_DIR}

Fixes failing ci-run for check-diff
https://github.com/crossplane-contrib/provider-aws/actions/runs/3296907421/jobs/5531645950#step:8:21

image

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Signed-off-by: haarchri <chhaar30@googlemail.com>
Signed-off-by: haarchri <chhaar30@googlemail.com>
@haarchri haarchri changed the title feat(submodule): bump submodule feat(submodule): bump submodule & add mkdir for ${WORK_DIR} Oct 27, 2022
Copy link
Member

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One potential suggestion but non-blocking, thanks @haarchri!

@if [ ! -d "$(WORK_DIR)" ]; then \
$(INFO) creating $(WORK_DIR) folder; \
mkdir $(WORK_DIR); \
fi
@if [ ! -d "$(WORK_DIR)/code-generator" ]; then \
cd $(WORK_DIR) && git clone "$(CODE_GENERATOR_REPO)"; \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could use a mkdir -p on the workdir to simplify if desired

@haarchri haarchri merged commit 5fb638f into crossplane-contrib:master Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants