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 7380d50 commit 7957141
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
files_to_remove=(
"node_modules/"
"tests/"
".env.ci"
".styleci.yml"
"CODE_OF_CONDUCT.md"
"CONTRIBUTOR_LICENSE_AGREEMENT"
"crowdin.yml"
Expand All @@ -39,11 +37,19 @@ jobs:
"stats.html"
)
for file in "${files_to_remove[@]}"; do
rm -rf "$file"
done
rm -rf "${files_to_remove[@]}"
tar --exclude-vcs -czf panel.tar.gz ./*
files_to_include=(
"."
".editorconfig"
".env.example"
".gitattributes"
".gitignore"
".prettierignore"
".prettierrc.json"
)
tar -czf panel.tar.gz "${files_to_include[@]}"
- name: Extract Changelog
id: extract_changelog
Expand Down

0 comments on commit 7957141

Please sign in to comment.