From 1eed1efd919d73504218902b55be6ae4253c01cf Mon Sep 17 00:00:00 2001 From: Sean Eagan Date: Tue, 23 Feb 2021 10:27:53 -0600 Subject: [PATCH] Fix github release workflow The previous fix [0] did not account for permissions to create the symlink at /usr/local/bin/gren. Running the full npm install with sudo should solve any further permissions issues. [0]: https://review.opendev.org/c/airship/airshipctl/+/776697 Change-Id: Ieb9dfbc699504e341306cb5b7a7a9e2ee90b637f Signed-off-by: Sean Eagan --- .github/workflows/release.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 397364b51..edf4af8fa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -96,8 +96,7 @@ jobs: uses: actions/checkout@v2 - name: Download release notes utility run: | - sudo chown -R $(whoami) /usr/local/lib/node_modules - npm install github-release-notes -g + sudo npm install github-release-notes -g - name: Generate release notes run: | gren changelog --override --generate \