Skip to content

Commit

Permalink
Fix release.yml not adding example env
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwang401 committed Oct 14, 2024
1 parent 2841c09 commit 561aca9
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 561aca9

Please sign in to comment.