From c928a67f23ca35550dfc951de74497e97b392304 Mon Sep 17 00:00:00 2001 From: Roni Laukkarinen Date: Wed, 15 Jan 2025 18:06:41 +0200 Subject: [PATCH] Fix mistake in exporting createproject script version number --- CHANGELOG.md | 4 ++++ bin/tasks/header.sh | 2 +- composer.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56d3b22..e396239 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### 2.5.2: 2025-01-15 + +* Fix mistake in exporting createproject script version number + ### 2.5.1: 2025-01-09 * Bump WordPress to 6.7.1 diff --git a/bin/tasks/header.sh b/bin/tasks/header.sh index 6a872c6..0946ed7 100644 --- a/bin/tasks/header.sh +++ b/bin/tasks/header.sh @@ -8,7 +8,7 @@ else fi # Get dudestack version from composer.json -DUDEDESTACK_VERSION=$(grep '"version":' composer.json | cut -d'"' -f4) +DUDEDESTACK_VERSION=$(grep -m 1 '"version":' composer.json | cut -d'"' -f4) # Get version date from CHANGELOG.md DUDESTACK_DATE=$(grep '^### ' CHANGELOG.md | head -n 1 | cut -d' ' -f3) diff --git a/composer.json b/composer.json index 8c64a8a..c21d0e5 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "digitoimistodude/dudestack", "type": "project", - "version": "2.5.1", + "version": "2.5.2", "license": "MIT", "description": "A modern WordPress stack", "homepage": "https://github.com/digitoimistodude/dudestack",