File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,35 +74,21 @@ jobs:
7474 echo $changelog
7575 echo "::set-output name=changes::$changelog"
7676
77- - name : Remove unneccesary assets
77+ - name : Create plugin directory
7878 working-directory : ./
7979 run : |
80- mv docs/changelog.txt ./changelog.txt
81- mv docs/readme.txt ./readme.txt
82- rm -rf node_modules
83- rm -rf src
84- rm -rf .git
85- rm -rf .github
86- rm -rf docs
87- rm -rf vendor
88- rm -rf .editorconfig
89- rm -rf .eslintignore
90- rm -rf .eslintrc.js
91- rm -rf .gitignore
92- rm -rf .jscsrc
93- rm -rf .wp-env.json
94- rm -rf composer.json
95- rm -rf composer.lock
96- rm -rf package.json
97- rm -rf package-lock.json
98- rm -rf phpcs.xml.dist
99- rm -rf README.md
80+ mkdir ./string-locator
81+ mv ./string-locator.php ./string-locator/
82+ mv ./uninstall.php ./string-locator/
83+ mv docs/changelog.txt ./string-locator/changelog.txt
84+ mv docs/readme.txt ./string-locator/readme.txt
85+ mv build ./string-locator/
86+ mv includes ./string-locator/
87+ mv views ./string-locator/
10088
10189 - name : Package build
10290 working-directory : ./
10391 run : |
104- mkdir string-locator
105- ls | grep -v string-locator/ | xargs mv -t string-locator
10692 zip -r string-locator string-locator
10793
10894 - name : Create release
You can’t perform that action at this time.
0 commit comments