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 561aca9 commit a9214aa
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,20 @@ jobs:
- name: Create Release Archive
run: |
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"
)
tar -czf panel.tar.gz * .editorconfig .env.example .gitattributes .gitignore .prettierignore .prettierrc.json
rm -rf node_modules/ tests/ CODE_OF_CONDUCT.md CONTRIBUTOR_LICENSE_AGREEMENT crowdin.yml docker-compose.ci.yml phpstan.neon phpunit.xml stats.html
# Use array to include specific files
tar -czf panel.tar.gz "${files_to_include[@]}"
- name: Extract Changelog
id: extract_changelog
Expand Down

0 comments on commit a9214aa

Please sign in to comment.