Skip to content

Commit

Permalink
feat: release
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed May 24, 2023
1 parent d26cdfd commit a353594
Show file tree
Hide file tree
Showing 7 changed files with 1,372 additions and 9 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DEV_SERVER_URL=http://example.local
GITHUB_TOKEN="TOKEN-HERE"
7 changes: 7 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"github": {
"release": true,
"releaseName": "${version}",
"assets": ["deploy/*.zip"]
}
}
3 changes: 2 additions & 1 deletion editor-style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"lint:js": "wp-scripts lint-js gulpfile.js",
"lint:js:fix": "wp-scripts lint-js gulpfile.js --fix",
"lint:json": "wp-scripts format theme.json ./styles",
"release": "dotenv release-it -- --no-git --no-npm --no-increment --no-changelog",
"rtl": "rtlcss style.css style-rtl.css && rtlcss editor-style.css editor-style-rtl.css && rtlcss woocommerce.css woocommerce-rtl.css",
"version": "easy-replace-in-files",
"ready": "pnpm run version && pnpm run pot && shx rm -rf assets/ && pnpm run prod && pnpm run rtl",
Expand All @@ -48,7 +49,7 @@
"browser-sync": "^2.29.3",
"copy-files-from-to": "^3.9.0",
"cross-var": "^1.1.0",
"dotenv": "^16.0.3",
"dotenv-cli": "^7.2.1",
"easy-replace-in-files": "^1.0.3",
"gulp": "^4.0.2",
"gulp-dart-sass": "^1.1.0",
Expand All @@ -58,6 +59,7 @@
"husky": "^8.0.3",
"postcss": "^8.4.23",
"postcss-preset-env": "^8.4.1",
"release-it": "^15.10.3",
"rtlcss": "^4.1.0",
"shx": "^0.3.4"
}
Expand Down
Loading

0 comments on commit a353594

Please sign in to comment.