Skip to content

Commit

Permalink
Adjustments
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Fusco <[email protected]>
  • Loading branch information
josephfusco committed Jan 22, 2024
1 parent 8880ff8 commit 293c4e7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ jobs:
run: npm run build

- name: Zip Artifacts
run: zip -r package-${{ github.ref_name }}.zip ./build

run: |
mkdir -p plugin-build/
rsync -rc --exclude-from=.distignore --exclude=plugin-build/ . plugin-build/ --delete --delete-excluded -v
cd plugin-build ; zip -r wpgraphql-ide.zip wpgraphql-ide
rm -rf plugin-build/
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -52,6 +55,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ github.ref_name }}.zip
asset_name: ${{ github.ref_name }}.zip
asset_path: ./plugin-build/wpgraphql-ide.zip
asset_name: wpgraphql-ide.zip
asset_content_type: application/zip

0 comments on commit 293c4e7

Please sign in to comment.