mirror of
https://github.com/elementor/hello-theme.git
synced 2025-10-03 15:33:37 +08:00
remove wp to reademe
This commit is contained in:
parent
ea6e102094
commit
a966e16e33
2 changed files with 1 additions and 15 deletions
2
.github/workflows/publish-release.yml
vendored
2
.github/workflows/publish-release.yml
vendored
|
@ -60,7 +60,7 @@ jobs:
|
|||
run: |
|
||||
npm install --no-package-lock --no-save replace-in-file@6.2.0
|
||||
node ./.github/scripts/update-version-in-files.js
|
||||
npx grunt wp_readme
|
||||
#npx grunt wp_readme
|
||||
- name: Check if readme.txt update
|
||||
env:
|
||||
VERSION: ${{ env.PACKAGE_VERSION }}
|
||||
|
|
14
Gruntfile.js
14
Gruntfile.js
|
@ -119,25 +119,12 @@ module.exports = function( grunt ) {
|
|||
expand: true,
|
||||
},
|
||||
},
|
||||
|
||||
wp_readme_to_markdown: {
|
||||
readme: {
|
||||
files: {
|
||||
'README.md': 'readme.txt',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
} );
|
||||
|
||||
grunt.registerTask( 'i18n', [
|
||||
'checktextdomain',
|
||||
] );
|
||||
|
||||
grunt.registerTask( 'wp_readme', [
|
||||
'wp_readme_to_markdown',
|
||||
] );
|
||||
|
||||
grunt.registerTask( 'styles', [
|
||||
'sass',
|
||||
'postcss',
|
||||
|
@ -147,6 +134,5 @@ module.exports = function( grunt ) {
|
|||
grunt.registerTask( 'default', [
|
||||
'i18n',
|
||||
'styles',
|
||||
'wp_readme',
|
||||
] );
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue