Skip to content

Commit e18cd3f

Browse files
committed
fix: distignore config file on release jobs
1 parent 4b6162b commit e18cd3f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ jobs:
8787
find forms-bridge -name "*.php" -exec sed -i 's/HTTP_BRIDGE_/FORMS_BRIDGE_HTTP_/g' {} \;
8888
find forms-bridge -name '*.php' -exec sed -i 's/HTTP_BRIDGE/FORMS_BRIDGE\\Http/g' {} \;
8989
90+
- name: Distignore
91+
run: cp .distignore forms-bridge
92+
9093
- name: Archive
9194
run: wp dist-archive forms-bridge ./"$ZIP"
9295

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ package:
9393
- find forms-bridge -name '*.php' -exec sed -i "s/http_bridge_/forms_bridge_http_/g" {} \;
9494
- find forms-bridge -name "*.php" -exec sed -i 's/HTTP_BRIDGE_/FORMS_BRIDGE_HTTP_/g' {} \;
9595
- find forms-bridge -name '*.php' -exec sed -i 's/HTTP_BRIDGE/FORMS_BRIDGE\\Http/g' {} \;
96+
- cp .distignore forms-bridge
9697
- wp dist-archive forms-bridge ./$ZIP
9798
artifacts:
9899
paths:

0 commit comments

Comments
 (0)