Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bin/check-version
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion tiny-compress-images.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down