From 2583b8a08679cb1485b61d3ac82bdae93b431c2b Mon Sep 17 00:00:00 2001 From: "Jibon L. Costa" Date: Sat, 23 Nov 2024 19:36:03 +0100 Subject: [PATCH] fix(ci): small fix --- .github/workflows/release.yaml | 2 ++ .gitignore | 2 ++ .release-please-manifest.json | 3 +++ plugnmeet/README.txt | 2 ++ plugnmeet/plugnmeet.php | 5 ++++- release-please-config.json | 13 +++++++++++++ 6 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b403348..7b75970 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,6 +25,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | + sed -i '/\# x-release-please-start-version/d' plugnmeet/README.txt + sed -i '/\# x-release-please-end/d' plugnmeet/README.txt mkdir -p build rsync -ar plugnmeet build/ cd build diff --git a/.gitignore b/.gitignore index 077bc43..e8ecd96 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ !/.github/ !README.md !LICENSE +!release-please-config.json +!.release-please-manifest.json !/assets/ !/plugnmeet/ .DS_Store \ No newline at end of file diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..ba5fa92 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.2.12" +} diff --git a/plugnmeet/README.txt b/plugnmeet/README.txt index 2989ce1..6fa8996 100644 --- a/plugnmeet/README.txt +++ b/plugnmeet/README.txt @@ -4,7 +4,9 @@ Donate link: https://www.plugnmeet.org/ Tags: mynaparrot, web conference, plugnmeet Requires at least: 5.9 Tested up to: 6.6.2 +# x-release-please-start-version Stable tag: 1.2.12 +# x-release-please-end Requires PHP: 7.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/plugnmeet/plugnmeet.php b/plugnmeet/plugnmeet.php index e4770a5..9cefeae 100644 --- a/plugnmeet/plugnmeet.php +++ b/plugnmeet/plugnmeet.php @@ -15,7 +15,9 @@ * Plugin Name: Plug-N-Meet web conference integration * Plugin URI: https://github.com/mynaparrot/plugNmeet-WordPress * Description: Plug-N-Meet web conference integration with WordPress + * x-release-please-start-version * Version: 1.2.12 + * x-release-please-end * Author: Jibon L. Costa * Requires at least: 5.9 * Requires PHP: 7.4.0 @@ -37,8 +39,9 @@ * Start at version 1.0.0 and use SemVer - https://semver.org * Rename this for your plugin and update it as you release new versions. */ +// x-release-please-start-version define( 'PLUGNMEET_VERSION', '1.2.12' ); - +// x-release-please-end /** * Define the Plugin basename */ diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..ce9d08d --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "simple", + "include-component-in-tag": false, + "packages": { + ".": { + "extra-files": [ + "plugnmeet/plugnmeet.php", + "plugnmeet/README.txt" + ] + } + } +}