Skip to content

Commit

Permalink
missing build version
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Feb 13, 2024
1 parent e1c8783 commit ff9d522
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion box.json
Original file line number Diff line number Diff line change
@@ -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@/[email protected]@.zip",
"homepage":"https://forgebox.io/view/docbox",
Expand Down
13 changes: 12 additions & 1 deletion build/Build.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -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@" : "[email protected]@" ),
replacement = ( arguments.branch == "master" ? arguments.buildID : "-snapshot" ),
verbose = true
)
.run();

Expand Down
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ff9d522

Please sign in to comment.