diff --git a/bin/check-version b/bin/check-version index 23f0efa6..7f2c41e5 100755 --- a/bin/check-version +++ b/bin/check-version @@ -9,10 +9,16 @@ TAG_VERSION="${1:-${GITHUB_REF#refs/tags/}}" # Stable tag from readme.txt README_VERSION=$(grep -m 1 "^Stable tag:" readme.txt | awk '{print $3}') +SOURCE_VERSION=$(grep "Version:" tiny-compress-images.php | head -n 1 | cut -d ':' -f 2 | xargs) if [ "$TAG_VERSION" != "$README_VERSION" ]; then echo "Error: Tag: $TAG_VERSION, readme.txt: $README_VERSION" exit 1 fi +if [ "$TAG_VERSION" != "$SOURCE_VERSION" ]; then + echo "Error: Tag: $TAG_VERSION, tiny-compress-images.php: $SOURCE_VERSION" + exit 1 +fi + echo "Version matches git release" diff --git a/readme.txt b/readme.txt index 755a529b..4a4b50e1 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://tinypng.com/ Tags: compress images, compression, image size, page speed, performance Requires at least: 4.0 Tested up to: 6.9 -Stable tag: 3.6.11 +Stable tag: 3.6.12 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -174,6 +174,10 @@ A: You can upgrade to a paid account by adding your *Payment details* on your [a A: When the conversion feature is enabled (to convert images to AVIF or WebP), each image will use double the number of credits: one for compression and one for format conversion. == Changelog == += 3.6.12 = +* chore: updated tiny package to 1.6.4 +* fix: resolved warning when img tag was missing src attribute + = 3.6.9 = * fix: prevent picture element on product pages (WooCommerce) diff --git a/tiny-compress-images.php b/tiny-compress-images.php index 74341830..6576e7dc 100644 --- a/tiny-compress-images.php +++ b/tiny-compress-images.php @@ -2,7 +2,7 @@ /** * Plugin Name: TinyPNG - JPEG, PNG & WebP image compression * Description: Speed up your website. Optimize your JPEG, PNG, and WebP images automatically with TinyPNG. - * Version: 3.6.11 + * Version: 3.6.12 * Author: TinyPNG * Author URI: https://tinypng.com * Text Domain: tiny-compress-images