Skip to content

Commit f723548

Browse files
committed
debug release job
1 parent b33b078 commit f723548

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ jobs:
5757
container:
5858
image: codeccoop/wp-cli
5959
env:
60-
# ZIP: "${{ github.ref_name }}.zip"
61-
ZIP: "4.0.7.zip"
60+
ZIP: "${{ github.ref_name }}.zip"
6261
needs: build
6362
steps:
6463
- name: Setup node
@@ -75,9 +74,6 @@ jobs:
7574
name: build
7675
path: forms-bridge/assets
7776

78-
- name: Debug
79-
run: ls -l forms-bridge/assets
80-
8177
- name: Install dist archive
8278
run: wp package install wp-cli/dist-archive-command:@stable
8379

@@ -92,7 +88,7 @@ jobs:
9288
find forms-bridge -name '*.php' -exec sed -i 's/HTTP_BRIDGE/FORMS_BRIDGE\\Http/g' {} \;
9389
9490
- name: Archive
95-
run: /usr/bin/wp dist-archive forms-bridge ./$ZIP
91+
run: wp dist-archive forms-bridge ./$ZIP
9692

9793
- name: Upload artifact
9894
uses: actions/upload-artifact@v4
@@ -105,25 +101,20 @@ jobs:
105101
runs-on: ubuntu-latest
106102
needs: package
107103
env:
108-
# ZIP: "${{ github.ref_name }}.zip"
109-
ZIP: 4.0.7.zip
104+
ZIP: "${{ github.ref_name }}.zip"
110105
steps:
111106
- name: Download build artifact
112107
uses: actions/download-artifact@v4
113108
with:
114109
name: plugin-archive
115110

116-
- name: Debug
117-
run: ls -l
118-
119111
- name: Create release
120112
env:
121113
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
122-
# TAG: ${{ github.ref_name }}
123-
TAG: 4.0.7
114+
TAG: ${{ github.ref_name }}
124115
run: |
125116
gh release create "$TAG" \
126117
--repo="$GITHUB_REPOSITORY" \
127118
--title="$TAG" \
128119
--generate-notes \
129-
"$ZIP"
120+
"$ZIP#forms-bridge.zip"

0 commit comments

Comments
 (0)