diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a9b5090..d282b6b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: BUILD_DIR: "build" DIST_DIR_GITHUB: "dist/github" GITHUB_RELEASE_FILENAME: "ossc.zip" - PLUGIN: "ossc" + PLUGIN: "open-source-software-contributions" MAINFILE: "ossc.php" needs: [ lint ] steps: @@ -61,3 +61,15 @@ jobs: artifacts: ${{ env.ARTIFACT_PATH }} bodyFile: "changelog.txt" prerelease: ${{ env.RELEASE_TYPE }} + + + - name: Wordpress Release ⛴ + if: "!contains(github.ref, 'beta')" + id: wordpress-stable-release + env: + WORDPRESS_USERNAME : ${{ secrets.WORDPRESS_USERNAME }} + WORDPRESS_PASSWORD : ${{ secrets.WORDPRESS_PASSWORD }} + run: | + curl -LO https://raw.githubusercontent.com/bmlt-enabled/bmlt-wordpress-deploy/master/deploy-wordpress.sh + chmod +x deploy-wordpress.sh + ./deploy-wordpress.sh \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 8c53de9..071a168 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM wordpress:6.6.0-php8.3-apache +FROM wordpress:6.6.1-php8.3-apache RUN apt-get update && \ apt-get install -y --no-install-recommends ssl-cert && \ diff --git a/assets/icon-256x256.png b/assets/icon-256x256.png new file mode 100644 index 0000000..faa3321 Binary files /dev/null and b/assets/icon-256x256.png differ diff --git a/ossc.php b/ossc.php index cb7efb2..93ad14f 100644 --- a/ossc.php +++ b/ossc.php @@ -243,7 +243,7 @@ public function render_ossc( string|array $attrs = [] ): string { $table_name = $wpdb->prefix . 'ossc_github_data'; $content = '
'; - $github_repos_option = sanitize_textarea_field( get_option( 'github_repos' ) ) + $github_repos_option = sanitize_textarea_field( get_option( 'github_repos' ) ); if ( ! empty( $github_repos_option ) ) { $github_repos = array_map( 'trim', explode( ',', $github_repos_option ) ); diff --git a/readme.txt b/readme.txt index ded0123..23fa775 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: pjaudiomv, radius314 Tags: ossc, open source software contributions, github, pull requests Requires at least: 6.2 -Tested up to: 6.6.0 +Tested up to: 6.6.1 Stable tag: 1.1.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -34,7 +34,7 @@ This plugin relies on a third-party service, GitHub API, to function properly. T - **Terms of Use:** [GitHub Terms of Service](https://docs.github.com/en/github/site-policy/github-terms-of-service) - **Privacy Policy:** [GitHub Privacy Statement](https://docs.github.com/en/github/site-policy/github-privacy-statement) -MORE INFORMATION +### MORE INFORMATION https://github.com/radiusmethod/ossc-wp @@ -50,6 +50,11 @@ This section describes how to install the plugin and get it working. 3. Add a comma separated string of GitHub users you want to search contributions of within those repos. Ex. `someuser1,someuser2`. 4. Add [ossc] shortcode to your WordPress page/post. +== Screenshots == + +1. screenshot-1.png +2. screenshot-2.png + == Changelog == = 1.1.2 =