Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(utils): remove line break
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron Netzer committed Jun 29, 2021
1 parent 52ee559 commit 7bb8281
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ jobs:
git remote set-url --push origin "https://x-access-token:[email protected]/e-square-io/nx-github-actions.git"
git tag -d v${{ needs.release.outputs.major }} || true
git tag -d v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }} || true
git -f origin --delete v${{ needs.release.outputs.major }} || true
git -f origin --delete v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }} || true
git push -f origin --delete v${{ needs.release.outputs.major }} || true
git push -f origin --delete v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }} || true
git tag -fa v${{ needs.release.outputs.major }} -m "Release v${{ needs.release.outputs.major }}"
git tag -fa v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }} -m "Release v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }}"
git push -f --follow-tags
git push -f --tags
- name: Obtain GitHub App Installation Access Token
id: githubAppAuth
Expand Down Expand Up @@ -226,4 +226,4 @@ jobs:
git push -f origin --delete v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }} || true
git tag -fa v${{ needs.release.outputs.major }} -m "Release v${{ needs.release.outputs.major }}"
git tag -fa v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }} -m "Release v${{ needs.release.outputs.major }}.${{ needs.release.outputs.minor }}"
git push -f --follow-tags
git push -f --tags
1 change: 0 additions & 1 deletion packages/utils/src/lib/nx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export async function nxCommand(command: string, target: string, exec: Exec, arg

export async function nxPrintAffected(target: string, exec: Exec): Promise<string[]> {
const projects = (await nxCommand('print-affected', target, exec, ['--select=tasks.target.project'])).trim();

debug(`🐞 Affected project for ${target}: ${projects}`);

return projects.split(', ');
Expand Down

0 comments on commit 7bb8281

Please sign in to comment.