Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rebuild with .htaccess #235

Merged
merged 3 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
319 changes: 0 additions & 319 deletions alma/CHANGELOG.md

This file was deleted.

8 changes: 6 additions & 2 deletions scripts/build-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ DIR=$(pwd)

mkdir -p ./tmp/build/alma
cp CHANGELOG.md ./alma/
cp -r CHANGELOG.md ./alma/* ./tmp/build/alma
cp -r ./alma/* ./tmp/build/alma
cp ./alma/.htaccess ./tmp/build/alma/
rm -f ./tmp/build/alma/composer.lock
rm -rf ./tmp/build/alma/tests
rm -rf ./tmp/build/alma/phpunit.ci.xml
rm -rf ./tmp/build/alma/phpunit.dist.xml

mkdir ./dist

Expand All @@ -23,6 +26,7 @@ composer dump-autoload --optimize

cd ..

zip -9 -r "$DIR/dist/alma.zip" alma --exclude "*/.*" "*/build.sh" "*/dist" "*/docker*"
zip -9 -r "$DIR/dist/alma.zip" alma --exclude "*/*/.*" "*/build.sh" "*/dist" "*/docker*"

rm -rf "$DIR/tmp/build"
rm -rf "$DIR/alma/CHANGELOG.md"