Skip to content

Commit

Permalink
add assets
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv committed Aug 13, 2024
1 parent 69d6415 commit a39a132
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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 && \
Expand Down
Binary file added assets/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ossc.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public function render_ossc( string|array $attrs = [] ): string {
$table_name = $wpdb->prefix . 'ossc_github_data';
$content = '<div class="ossc_div">';

$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 ) );
Expand Down
9 changes: 7 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

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

Expand All @@ -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 =
Expand Down

0 comments on commit a39a132

Please sign in to comment.