Skip to content

Commit

Permalink
wordpress.org release
Browse files Browse the repository at this point in the history
  • Loading branch information
kerkness committed Aug 17, 2021
1 parent 3fc4f39 commit 18ee994
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 46 deletions.
7 changes: 7 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/.wordpress-org
/.git
/.github
/node_modules

.distignore
.gitignore
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy to WordPress.org
on:
release:
types: [published]
jobs:
tag:
name: New release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build
run: |
composer install --no-dev --optimize-autoloader
- 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 }}
- 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}}/${{ github.event.repository.name }}.zip
asset_name: ${{ github.event.repository.name }}.zip
asset_content_type: application/zip
44 changes: 0 additions & 44 deletions .github/workflows/main.yml

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: Kerkness
Tags: hubspot, crm, woocommerce, customers
Requires at least: 5.4
Tested up to: 5.8
Stable tag: 1.0.1
Stable tag: 1.0.2
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -38,6 +38,9 @@ Yes. The plugin loads your complete HubSpot contact record and makes all propert

== Changelog ==

= 1.0.2 =
* Wordpress.org release

= 1.0.1 =
* removed un-needed test folders from build
* updated pre-fix basename function
Expand Down
2 changes: 1 addition & 1 deletion wc-hub.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: Integrator For HubSpot
* Plugin URI: https://kerkness.ca/wc-hub
* Description: Automatically creates and updates HubSpot records from Woocommerce or WordPress events
* Version: 1.0.1
* Version: 1.0.2
* Requires at least: 5.4
* Tested up to: 5.8
* Requires PHP: 7.2
Expand Down

0 comments on commit 18ee994

Please sign in to comment.