diff --git a/.circleci/config.yml b/.circleci/config.yml index 53c913bee..c380032b5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,7 +74,8 @@ jobs: - add_ssh_keys: fingerprints: - "c3:de:eb:9c:82:70:a8:23:f3:4e:92:b8:07:d2:22:df" - - attach_workspace: *attach_options + - checkout: *post_checkout + - restore_cache: *root_package_lock_key - run: npm run build:cdk - run: npm run build:lib - run: ./scripts/deploy/publish-artifacts.sh @@ -85,7 +86,8 @@ jobs: - add_ssh_keys: fingerprints: - "c3:de:eb:9c:82:70:a8:23:f3:4e:92:b8:07:d2:22:df" - - attach_workspace: *attach_options + - checkout: *post_checkout + - restore_cache: *root_package_lock_key - run: ./scripts/deploy/publish-docs.sh @@ -113,14 +115,14 @@ workflows: - build_cdk - build_mosaic filters: - branches: - only: - - master + branches: + only: + - master - docs_publish: requires: - test_unit - build_mosaic filters: - branches: - only: - - master + branches: + only: + - master diff --git a/scripts/deploy/publish-artifacts.sh b/scripts/deploy/publish-artifacts.sh index 62e5a232b..be6963957 100755 --- a/scripts/deploy/publish-artifacts.sh +++ b/scripts/deploy/publish-artifacts.sh @@ -86,8 +86,12 @@ publishPackage() { git config user.name "${commitAuthorName}" git config user.email "${commitAuthorEmail}" + echo "Publish by user: ${commitAuthorName}" echo "Git configuration has been updated to match the last commit author. Publishing now.." + echo "Commit message: ${buildCommitMessage}" + echo "Build Tag: ${buildTagName}" + git add -A git commit --allow-empty -m "${buildCommitMessage}" git tag "${buildTagName}"