-
Notifications
You must be signed in to change notification settings - Fork 3
chore(java): Keep wait packages of services if present #191
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
ab16b94
to
6ea313f
Compare
rm -r "${SERVICES_FOLDER}/${service}/.openapi-generator/" | ||
|
||
# If the service has a wait package, move them inside the service folder | ||
if [ -d ${sdk_services_backup_dir}/${service}/src/main/java/cloud/stackit/sdk/${service}/wait ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if [ -d ${sdk_services_backup_dir}/${service}/src/main/java/cloud/stackit/sdk/${service}/wait ]; then | |
if [ -d "${sdk_services_backup_dir}/${service}/src/main/java/cloud/stackit/sdk/${service}/wait" ]; then |
It's best practice to quote such things in bash 😅
# If the service has a wait package, move them inside the service folder | ||
if [ -d ${sdk_services_backup_dir}/${service}/src/main/java/cloud/stackit/sdk/${service}/wait ]; then | ||
echo "Found ${service} \"wait\" package" | ||
cp -r ${sdk_services_backup_dir}/${service}/src/main/java/cloud/stackit/sdk/${service}/wait ${SERVICES_FOLDER}/${service}/src/main/java/cloud/stackit/sdk/${service}/wait |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cp -r ${sdk_services_backup_dir}/${service}/src/main/java/cloud/stackit/sdk/${service}/wait ${SERVICES_FOLDER}/${service}/src/main/java/cloud/stackit/sdk/${service}/wait | |
cp -r "${sdk_services_backup_dir}/${service}/src/main/java/cloud/stackit/sdk/${service}/wait" "${SERVICES_FOLDER}/${service}/src/main/java/cloud/stackit/sdk/${service}/wait" |
same here
This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it. |
This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it. |
This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it. |
No description provided.