diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 010e8c7..8a25e9d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,25 +36,25 @@ jobs: - name: Create build directory run: | - mkdir -p build/wp-plugin-starter-template - cp -R *.php README.md LICENSE CHANGELOG.md readme.txt composer.json build/wp-plugin-starter-template/ - cp -R admin includes languages vendor build/wp-plugin-starter-template/ - mkdir -p build/wp-plugin-starter-template/assets/banner build/wp-plugin-starter-template/assets/icon build/wp-plugin-starter-template/assets/screenshots - if [ -d "assets/banner" ]; then cp -R assets/banner/* build/wp-plugin-starter-template/assets/banner/; fi - if [ -d "assets/icon" ]; then cp -R assets/icon/* build/wp-plugin-starter-template/assets/icon/; fi - if [ -d "assets/screenshots" ]; then cp -R assets/screenshots/* build/wp-plugin-starter-template/assets/screenshots/; fi + mkdir -p build/wp-plugin-starter-template-for-ai-coding + cp -R *.php README.md LICENSE CHANGELOG.md readme.txt composer.json build/wp-plugin-starter-template-for-ai-coding/ + cp -R admin includes languages vendor build/wp-plugin-starter-template-for-ai-coding/ + mkdir -p build/wp-plugin-starter-template-for-ai-coding/assets/banner build/wp-plugin-starter-template-for-ai-coding/assets/icon build/wp-plugin-starter-template-for-ai-coding/assets/screenshots + if [ -d "assets/banner" ]; then cp -R assets/banner/* build/wp-plugin-starter-template-for-ai-coding/assets/banner/; fi + if [ -d "assets/icon" ]; then cp -R assets/icon/* build/wp-plugin-starter-template-for-ai-coding/assets/icon/; fi + if [ -d "assets/screenshots" ]; then cp -R assets/screenshots/* build/wp-plugin-starter-template-for-ai-coding/assets/screenshots/; fi - name: Create ZIP file run: | cd build - zip -r ../wp-plugin-starter-template-${{ env.VERSION }}.zip wp-plugin-starter-template -x "*.DS_Store" -x "*.git*" + zip -r ../wp-plugin-starter-template-for-ai-coding-${{ env.VERSION }}.zip wp-plugin-starter-template-for-ai-coding -x "*.DS_Store" -x "*.git*" cd .. - name: Create Release id: create_release uses: softprops/action-gh-release@v1 with: - files: wp-plugin-starter-template-${{ env.VERSION }}.zip + files: wp-plugin-starter-template-for-ai-coding-${{ env.VERSION }}.zip name: Version ${{ env.VERSION }} draft: false prerelease: false