diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7561051..b33d886 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,6 @@ name: Deploy to WordPress.org on: release: types: [ released ] - workflow_dispatch: jobs: release: @@ -48,28 +47,22 @@ jobs: - name: Build assets for production run: npm run build - # - name: WordPress Plugin Deploy - # id: deploy - # uses: 10up/action-wordpress-plugin-deploy@stable - # with: - # generate-zip: true - # env: - # SVN_USERNAME: ${{ secrets.SVN_USERNAME }} - # SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} - # SLUG: wp-rollback - - - name: Upload plugin artifact - uses: actions/upload-artifact@v3 + - name: WordPress Plugin Deploy + id: deploy + uses: 10up/action-wordpress-plugin-deploy@stable with: - name: wp-rollback - path: wp-rollback + generate-zip: true + env: + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SLUG: wp-rollback -# - name: Upload release asset -# uses: actions/upload-release-asset@v1 -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# with: -# upload_url: ${{ github.event.release.upload_url }} -# asset_path: ${{github.workspace}}/wp-rollback.zip -# asset_name: wp-rollback.zip -# asset_content_type: application/zip + - name: Upload release asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ github.event.release.upload_url }} + asset_path: ${{github.workspace}}/wp-rollback.zip + asset_name: wp-rollback.zip + asset_content_type: application/zip diff --git a/readme.txt b/readme.txt index afa0d12..f094490 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Requires at least: 4.8 Donate Link: https://givewp.com/ Tested up to: 6.5 Requires PHP: 7.4 -Stable tag: 2.0.0 +Stable tag: 2.0.1 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -106,6 +106,9 @@ This is the first version of this plugin. It is a tool for your convenience. Rol == Changelog == += 2.0.1 = +* Fix: Resolved an issue with the POT file not properly being generated at release. This resolves the issue with the new UI not being able to be translated. + = 2.0.0 = * New: Introducing version 2.0! In this new version the UI is now better looking and snappier than ever. The branding has also been updated to look and feel more modern. diff --git a/wp-rollback.php b/wp-rollback.php index beca866..d31ba3b 100644 --- a/wp-rollback.php +++ b/wp-rollback.php @@ -5,7 +5,7 @@ * Description: Rollback (or forward) any WordPress.org plugin, theme or block like a boss. * Author: WP Rollback * Author URI: https://wprollback.com/ - * Version: 2.0.0 + * Version: 2.0.1 * Text Domain: wp-rollback * Domain Path: /languages *