From 561aca99dfce4fe38c02d4656f5e1ff8959d234f Mon Sep 17 00:00:00 2001 From: Eric Wang <37554696+ericwang401@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:12:58 -0400 Subject: [PATCH] Fix release.yml not adding example env --- .github/workflows/release.yml | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac680c67271..86f3ec8d890 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,32 +25,9 @@ jobs: - name: Create Release Archive run: | - files_to_exclude=( - "node_modules/" - "tests/" - "CODE_OF_CONDUCT.md" - "CONTRIBUTOR_LICENSE_AGREEMENT" - "crowdin.yml" - "docker-compose.ci.yml" - "phpstan.neon" - "phpunit.xml" - "stats.html" - ) + rm -rf node_modules/ tests/ CODE_OF_CONDUCT.md CONTRIBUTOR_LICENSE_AGREEMENT crowdin.yml docker-compose.ci.yml phpstan.neon phpunit.xml stats.html - files_to_include=( - "." - ".editorconfig" - ".env.example" - ".gitattributes" - ".gitignore" - ".prettierignore" - ".prettierrc.json" - ) - - rm -rf "${files_to_exclude[@]}" - sync - - tar -czf panel.tar.gz "${files_to_include[@]}" + tar -czf panel.tar.gz * .editorconfig .env.example .gitattributes .gitignore .prettierignore .prettierrc.json - name: Extract Changelog id: extract_changelog