From ff9d522ad25803311b7ffbf27aacd6df66eb12ab Mon Sep 17 00:00:00 2001 From: Luis Majano Date: Tue, 13 Feb 2024 13:02:55 +0100 Subject: [PATCH] missing build version --- box.json | 2 +- build/Build.cfc | 13 ++++++++++++- changelog.md | 7 +++++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/box.json b/box.json index 6fa7d16..1176976 100644 --- a/box.json +++ b/box.json @@ -1,6 +1,6 @@ { "name":"DocBox", - "version":"3.3.0", + "version":"4.1.0", "author":"Ortus Solutions, Corp", "location":"http://downloads.ortussolutions.com/ortussolutions/docbox/@build.version@/docbox-@build.version@.zip", "homepage":"https://forgebox.io/view/docbox", diff --git a/build/Build.cfc b/build/Build.cfc index e03cf09..c2b7adf 100644 --- a/build/Build.cfc +++ b/build/Build.cfc @@ -159,7 +159,18 @@ component { .params( path = "/#variables.projectBuildDir#/**", token = "@build.version@", - replacement = arguments.version + replacement = arguments.version, + verbose = true + ) + .run(); + + print.greenLine( "Updating build identifier to [#arguments.buildID#-#arguments.branch#]..." ).toConsole(); + command( "tokenReplace" ) + .params( + path = "/#variables.projectBuildDir#/**", + token = ( arguments.branch == "master" ? "@build.number@" : "+@build.number@" ), + replacement = ( arguments.branch == "master" ? arguments.buildID : "-snapshot" ), + verbose = true ) .run(); diff --git a/changelog.md b/changelog.md index 8bc650b..72464ee 100644 --- a/changelog.md +++ b/changelog.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Build Versions and changelog - Removal of `box.zip` in root from old scripts ### BREAKING @@ -34,6 +35,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixes support for Adobe 2018. (Mainly in the CommandBox strategy.) +## [4.0.0] - 2023-08-03 + +### Changed + +- Dropped Adobe 2016 support + ## [3.0.0] ### Added