Skip to content
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
5 changes: 3 additions & 2 deletions .github/workflows/buid_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
# 5. copy repository metafiles, composer.json with PHP 7.2, Github Workflows
- run: |
cp -R build/target-repository/. ecs-prefixed-downgraded
cp LICENSE ecs-prefixed-downgraded/
cp -R templates ecs-prefixed-downgraded/

# 5b. publish blink binaries as a GitHub release keyed by the blink/ tree hash, instead of committing them;
Expand Down Expand Up @@ -141,8 +142,8 @@ jobs:
path: remote-repository
token: ${{ secrets.ACCESS_TOKEN }}

# remove remote files, to avoid piling up dead code in remote repository
- run: rm -rf remote-repository/.github remote-repository/docs remote-repository/config remote-repository/packages remote-repository/src remote-repository/vendor remote-repository/bin/blink-*
# remove all remote files except git, so files dropped from the build never linger in the remote repository
- run: find remote-repository -mindepth 1 -maxdepth 1 ! -name .git -exec rm -rf {} +

# clear the dev files
- run: cp -a ecs-prefixed-downgraded/. remote-repository
Expand Down
7 changes: 7 additions & 0 deletions build/target-repository/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/.github export-ignore
/tests export-ignore
.gitattributes export-ignore
.gitignore export-ignore
phpunit.xml export-ignore
*.md export-ignore
/docs export-ignore
Loading