Skip to content

Commit a39a132

Browse files
committed
add assets
1 parent 69d6415 commit a39a132

File tree

5 files changed

+22
-5
lines changed

5 files changed

+22
-5
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
BUILD_DIR: "build"
2727
DIST_DIR_GITHUB: "dist/github"
2828
GITHUB_RELEASE_FILENAME: "ossc.zip"
29-
PLUGIN: "ossc"
29+
PLUGIN: "open-source-software-contributions"
3030
MAINFILE: "ossc.php"
3131
needs: [ lint ]
3232
steps:
@@ -61,3 +61,15 @@ jobs:
6161
artifacts: ${{ env.ARTIFACT_PATH }}
6262
bodyFile: "changelog.txt"
6363
prerelease: ${{ env.RELEASE_TYPE }}
64+
65+
66+
- name: Wordpress Release ⛴
67+
if: "!contains(github.ref, 'beta')"
68+
id: wordpress-stable-release
69+
env:
70+
WORDPRESS_USERNAME : ${{ secrets.WORDPRESS_USERNAME }}
71+
WORDPRESS_PASSWORD : ${{ secrets.WORDPRESS_PASSWORD }}
72+
run: |
73+
curl -LO https://raw.githubusercontent.com/bmlt-enabled/bmlt-wordpress-deploy/master/deploy-wordpress.sh
74+
chmod +x deploy-wordpress.sh
75+
./deploy-wordpress.sh

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM wordpress:6.6.0-php8.3-apache
1+
FROM wordpress:6.6.1-php8.3-apache
22

33
RUN apt-get update && \
44
apt-get install -y --no-install-recommends ssl-cert && \

assets/icon-256x256.png

139 KB
Loading

ossc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function render_ossc( string|array $attrs = [] ): string {
243243
$table_name = $wpdb->prefix . 'ossc_github_data';
244244
$content = '<div class="ossc_div">';
245245

246-
$github_repos_option = sanitize_textarea_field( get_option( 'github_repos' ) )
246+
$github_repos_option = sanitize_textarea_field( get_option( 'github_repos' ) );
247247

248248
if ( ! empty( $github_repos_option ) ) {
249249
$github_repos = array_map( 'trim', explode( ',', $github_repos_option ) );

readme.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Contributors: pjaudiomv, radius314
44
Tags: ossc, open source software contributions, github, pull requests
55
Requires at least: 6.2
6-
Tested up to: 6.6.0
6+
Tested up to: 6.6.1
77
Stable tag: 1.1.2
88
License: GPLv2 or later
99
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
3434
- **Terms of Use:** [GitHub Terms of Service](https://docs.github.com/en/github/site-policy/github-terms-of-service)
3535
- **Privacy Policy:** [GitHub Privacy Statement](https://docs.github.com/en/github/site-policy/github-privacy-statement)
3636

37-
MORE INFORMATION
37+
### MORE INFORMATION
3838

3939
<a href="https://github.com/radiusmethod/ossc-wp" target="_blank">https://github.com/radiusmethod/ossc-wp</a>
4040

@@ -50,6 +50,11 @@ This section describes how to install the plugin and get it working.
5050
3. Add a comma separated string of GitHub users you want to search contributions of within those repos. Ex. `someuser1,someuser2`.
5151
4. Add [ossc] shortcode to your WordPress page/post.
5252

53+
== Screenshots ==
54+
55+
1. screenshot-1.png
56+
2. screenshot-2.png
57+
5358
== Changelog ==
5459

5560
= 1.1.2 =

0 commit comments

Comments
 (0)