Skip to content

Commit 1b420d8

Browse files
committed
update to use correct folder
1 parent 002e219 commit 1b420d8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build/Build.cfc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ component {
6565
buildID = createUUID(),
6666
branch = "development"
6767
){
68+
// If branch == development, then we are building a snapshot
69+
if ( branch == "development" ) {
70+
arguments.version = arguments.version & "-snapshot";
71+
}
72+
6873
// Create project mapping
6974
fileSystemUtil.createMapping( arguments.projectName, variables.cwd );
7075

@@ -167,7 +172,7 @@ component {
167172
.params(
168173
path = "/#variables.projectBuildDir#/**",
169174
token = ( arguments.branch == "master" ? "@build.number@" : "+@build.number@" ),
170-
replacement = ( arguments.branch == "master" ? arguments.buildID : "-snapshot" )
175+
replacement = ( arguments.branch == "master" ? arguments.buildID : "" )
171176
)
172177
.run();
173178

0 commit comments

Comments
 (0)