Skip to content

Commit

Permalink
Add the Build Release Zip workflow along with our ignore files
Browse files Browse the repository at this point in the history
  • Loading branch information
dkotter committed May 30, 2024
1 parent aaa5866 commit 63ad58c
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Directories to ignore
/.git
/.github
/.wordpress-org
/node_modules
/tests
/vendor

# Files to ignore
/.*
/CHANGELOG.md
/CODE_OF_CONDUCT.md
/composer.json
/composer.lock
/CONTRIBUTING.md
/CREDITS.md
/LICENSE.md
/package-lock.json
/package.json
/phpcs-compat.xml
/phpcs.xml
/README.md
19 changes: 19 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/.github export-ignore
/.wordpress-org export-ignore
/node_modules export-ignore
/tests export-ignore
/vendor export-ignore

/.* export-ignore
/CHANGELOG.md export-ignore
/CODE_OF_CONDUCT.md export-ignore
/composer.json export-ignore
/composer.lock export-ignore
/CONTRIBUTING.md export-ignore
/CREDITS.md export-ignore
/LICENSE.md export-ignore
/package-lock.json export-ignore
/package.json export-ignore
/phpcs-compat.xml export-ignore
/phpcs.xml export-ignore
/README.md export-ignore
22 changes: 22 additions & 0 deletions .github/workflows/build-release-zip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build release zip

on:
workflow_dispatch:
workflow_call:
push:
branches:
- main

jobs:
build:
name: Build release zip
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Generate ZIP file
uses: 10up/action-wordpress-plugin-build-zip@stable
env:
SLUG: mailchimp

0 comments on commit 63ad58c

Please sign in to comment.