Skip to content

Commit bb88a65

Browse files
author
Vitaliy Boyko
committed
Fixed version name
1 parent d6ea1e8 commit bb88a65

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,13 @@ publishPlugin {
4747
token = System.getenv("MAGENTO_PHPSTORM_intellijPublishToken")
4848
if (System.getenv("MAGENTO_PHPSTORM_isAlpha") == true) {
4949
channels 'alpha'
50+
packageNameSuffix ".alpha"
51+
versionNameSuffix "-alpha" + "-build" + getDate()
5052
}
5153
}
54+
55+
static def getDate() {
56+
def date = new Date()
57+
def formattedDate = date.format('yyyyMMddHHmmss')
58+
return formattedDate
59+
}

0 commit comments

Comments
 (0)