From 6a28a712f9ab554670304726b774d41c0f67bae3 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Fri, 28 Jan 2022 06:31:45 -0800 Subject: [PATCH] Hopefully fix flipper-release npm publish step (#3366) Summary: This is really stupid but the download creates a directory with the same name before putting the file in it. I think `v2` no longer does but hey, this is the devil we know. You can look at the actions further down to see that we reference all the other downloads by `filename/filename` as well, so this should do it. Pull Request resolved: https://github.com/facebook/flipper/pull/3366 Test Plan: Another release, I'm afraid. This is a step you cannot dry-run. Reviewed By: cekkaewnumchai, aigoncharov Differential Revision: D33842700 Pulled By: passy fbshipit-source-id: d6f7a4a711ec056ba16f13c72f2c550e9a632ac0 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f485042c3..b7804e6e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -217,7 +217,7 @@ jobs: run: echo "//registry.yarnpkg.com/:_authToken=${{ secrets.FLIPPER_NPM_TOKEN }}" >> ~/.npmrc - name: Publish flipper-server on NPM run: | - tar zxvf flipper-server.tgz + tar zxvf flipper-server.tgz/flipper-server.tgz cd package yarn publish - name: Open issue on failure