File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ echo "Installed version: $INSTALLED_VERSION"
3232# Clean up
3333echo " Cleaning up..."
3434cd ..
35- rm -rf azure-sdk-temp
35+ if [ -n " $CI " ]; then
36+ rm -rf azure-sdk-temp
37+ fi
3638
3739# Update dependency versions in the current project
3840echo " Updating dependency versions in project files..."
5254./gradlew resolveAndLockAll --write-locks
5355./gradlew generateLicenseReport --no-build-cache
5456
55- # this is needed to make license report pass
56- git config user.email " 41898282+github-actions[bot]@users.noreply.github.com"
57- git config user.name " github-actions[bot]"
58- git commit -a -m " update azure-monitor-opentelemetry-autoconfigure dependency to $INSTALLED_VERSION "
57+ if [ -n " $CI " ]; then
58+ git config user.email " 41898282+github-actions[bot]@users.noreply.github.com"
59+ git config user.name " github-actions[bot]"
60+ git commit -a -m " update azure-monitor-opentelemetry-autoconfigure dependency to $INSTALLED_VERSION "
61+ fi
5962
6063echo " azure-monitor-opentelemetry-autoconfigure dependency build completed successfully"
6164echo " All project files updated to use version: $INSTALLED_VERSION "
You can’t perform that action at this time.
0 commit comments