Skip to content

Commit

Permalink
chore: added release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusforsberg committed May 15, 2023
1 parent 537fc97 commit c1ff88c
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 11 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
push:
branches:
- main
workflow_dispatch:

name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: php
package-name: acf-native-fields
extra-files: |
acf-native-fields.php
37 changes: 26 additions & 11 deletions acf-native-fields.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,37 @@
<?php
/*
Plugin Name: ACF Native Fields
Plugin URI: https://github.com/winteragency/acf-native-fields
Description: An interface to move native WordPress fields and options into ACF for a cleaner editor layout
Version: 1.1.2
Author: Winter
Author URI: https://winteragency.se
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.en.html
*/
/**
* ACF Native Fields by Winter ❄
*
* @link https://github.com/winteragency/wntr-acf-flexible-content-preview
* @since 1.0.0
* @package ACF_Native_Fields
*
* x-release-please-start-version
*
* @wordpress-plugin
* Plugin Name: ACF Native Fields
* Plugin URI: https://github.com/winteragency/acf-native-fields
* Description: An interface to move native WordPress fields and options into ACF for a cleaner editor layout
* Version: 1.1.2
* Requires at least: 6.0
* Requires PHP: 8.0
* Author: Winter Agency
* Author URI: http://winteragency.se
* License: GPL-3.0+
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
* Text Domain: acf-native-fields
* Domain Path: /languages
*
* x-release-please-end
*/

if (!defined('ABSPATH')) {
exit();
}

class ACF_Native_Fields {
static $instance = false;
public $version = '1.1.2';
public $version = '1.1.2'; // x-release-please-version

function __construct() {
// Init plugin (check requirements etc)
Expand Down

0 comments on commit c1ff88c

Please sign in to comment.