From 2f7411bb18b32bdd5d589c14672455bb6cb6b7e2 Mon Sep 17 00:00:00 2001 From: Ron Netzer Date: Tue, 29 Jun 2021 14:43:30 +0300 Subject: [PATCH] fix(utils): remove line break --- .github/workflows/main.yml | 5 ++++- packages/utils/src/lib/nx.ts | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c7864f8e..43a0ed01 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -162,6 +162,9 @@ jobs: with: persist-credentials: false + - name: Set git config + run: git config --global hub.protocol https + - name: Obtain GitHub App Installation Access Token id: githubAppAuth run: | @@ -194,9 +197,9 @@ jobs: run: | git config user.name e-square-ci git config user.email ci@e-square.io - git config --global hub.protocol https git remote set-url origin "https://x-access-token:$GITHUB_TOKEN@github.com/e-square-io/${{ matrix.package }}.git" git remote set-url --push origin "https://x-access-token:$GITHUB_TOKEN@github.com/e-square-io/${{ matrix.package }}.git" + git fetch --unshallow origin git tag -d v${{ needs.release.outputs.major }} || true git tag -d v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }} || true git push origin :v${{ needs.release.outputs.major }} || true diff --git a/packages/utils/src/lib/nx.ts b/packages/utils/src/lib/nx.ts index 5c798e23..b185bf93 100644 --- a/packages/utils/src/lib/nx.ts +++ b/packages/utils/src/lib/nx.ts @@ -17,7 +17,6 @@ export type WorkspaceProjects = WorkspaceJsonConfiguration['projects']; export function getWorkspaceProjects(): WorkspaceProjects { const workspaceFile = tree.exists('angular.json') ? 'angular.json' : 'workspace.json'; - debug(`🐞 Found ${workspaceFile} as nx workspace`); const workspaceContent: WorkspaceJsonConfiguration = JSON.parse(