From 238e6754ce90317359362921cae1ac2663877d4e Mon Sep 17 00:00:00 2001 From: PT-ATA No One Date: Fri, 19 Jul 2024 13:51:24 +0000 Subject: [PATCH] fix version extracton --- .github/workflows/github-release.yaml | 2 +- Readme.txt | 2 +- composer.json | 1 + gdata-antivirus.php | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-release.yaml b/.github/workflows/github-release.yaml index d199a30..c44eff8 100644 --- a/.github/workflows/github-release.yaml +++ b/.github/workflows/github-release.yaml @@ -23,7 +23,7 @@ jobs: run: | if [[ $GITHUB_REF == refs/tags/v* ]]; then echo "running tag version extract" - echo "plugin_version=${GITHUB_REF_NAME}" | tee -a "$GITHUB_OUTPUT" + echo "plugin_version=${GITHUB_REF_NAME#refs/tags/v}" | tee -a "$GITHUB_OUTPUT" echo "plugin_prerelease=false" | tee -a "$GITHUB_OUTPUT" elif [[ $GITHUB_REF == refs/head/main ]]; then echo "running main version extract from file" diff --git a/Readme.txt b/Readme.txt index 97257b9..6b1c37a 100644 --- a/Readme.txt +++ b/Readme.txt @@ -4,7 +4,7 @@ Tags: antivirus, security, vaas, malware, malicious Requires at least: 6.2 Tested up to: 6.6 Requires PHP: 8.1 -Stable tag: 0.0.1 +Stable tag: 1.2.3 License: GNU General Public License v3.0 License URI: https://github.com/GDATASoftwareAG/vaas/blob/main/LICENSE diff --git a/composer.json b/composer.json index 121eee2..cd321a7 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,6 @@ { "name": "gdatacyberdefenseag/gdata-antivirus", + "version": "1.2.3", "autoload": { "psr-4": { "Gdatacyberdefenseag\\GdataAntivirus\\": "." diff --git a/gdata-antivirus.php b/gdata-antivirus.php index 29eaa5c..fb8b634 100644 --- a/gdata-antivirus.php +++ b/gdata-antivirus.php @@ -10,7 +10,7 @@ * * @wordpress-plugin * Plugin Name: G DATA Antivirus - * Version: 0.0.1 + * Version: 1.2.3 * Requires at least: 6.2 * Tested up to: 6.6 * Requires PHP: 8.1