Skip to content

Commit

Permalink
build: change release zip structure; alpha releases (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
adekbadek authored Aug 7, 2020
2 parents acc9d90 + ec8527e commit f622d19
Show file tree
Hide file tree
Showing 5 changed files with 541 additions and 182 deletions.
7 changes: 6 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ jobs:
- image: circleci/php:7.2-node-browsers
steps:
- checkout_with_workspace
- run:
name: Install rsync
command: sudo apt install rsync
- run:
name: Release new version
command: npm run release
Expand All @@ -92,4 +95,6 @@ workflows:
- build
filters:
branches:
only: release
only:
- release
- alpha
12 changes: 8 additions & 4 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Thumbs.db
behat.yml
bitbucket-pipelines.yml
bin
.circleci/config.yml
.circleci
composer.json
composer.lock
dependencies.yml
Expand All @@ -33,9 +33,13 @@ README.md
webpack.config.js
wp-cli.local.yml
yarn.lock
tests
vendor
node_modules
*.sql
*.tar.gz
*.zip
.*rc
.*rc.*
*.config.js

node_modules
/tests
/release
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
"name": "automattic/newspack-ads",
"description": "Newspack Ad integrations.",
"type": "wordpress-plugin",
"require": {
"composer/installers": "~1.6"
},
"require-dev": {
"composer/installers": "~1.6",
"automattic/vipwpcs": "^2.0.0",
"brainmaestro/composer-git-hooks": "^2.6",
"wp-coding-standards/wpcs": "*",
Expand Down
Loading

0 comments on commit f622d19

Please sign in to comment.