From 874272febb63da3ef0ec6a40c6c42fd3f320a8d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Tue, 16 Feb 2021 22:53:57 +0100 Subject: [PATCH 1/2] Generate LICENSE files in GH actions --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba367faa4b17..9fd34816b8f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -100,6 +100,9 @@ jobs: with: name: build-artifact + - name: Generate LICENSE files + run: make clone-license + - name: Publish to npm run: yarn release-tool publish --yes env: From 47e6e1d8dcf4df403d7a75edf4b6872cd87008af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Wed, 17 Feb 2021 02:11:58 +0100 Subject: [PATCH 2/2] Add LICENSE files to the build artifact --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9fd34816b8f0..6b9875a07c71 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,6 +46,9 @@ jobs: codemods/*/lib/**/* eslint/*/lib/**/* packages/*/lib/**/* + codemods/*/LICENSE + eslint/*/LICENSE + packages/*/LICENSE packages/babel-standalone/*.js !**/node_modules/** @@ -100,9 +103,6 @@ jobs: with: name: build-artifact - - name: Generate LICENSE files - run: make clone-license - - name: Publish to npm run: yarn release-tool publish --yes env: