We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 866a1bc commit ee27fabCopy full SHA for ee27fab
2 files changed
.github/workflows/publish.yml
@@ -30,7 +30,7 @@ jobs:
30
31
- name: Set CalVer version
32
id: calver
33
- run: echo "VERSION=$(date -u +'%Y.%m.%d')" >> $GITHUB_ENV
+ run: echo "VERSION=$(date -u +'%Y.%m.%d.%H%M')" >> $GITHUB_ENV
34
35
- name: Create GitHub Release
36
uses: elgohr/Github-Release-Action@v5
build.gradle.kts
@@ -12,7 +12,7 @@ plugins {
12
group = "cc.modlabs"
13
14
version = Calendar.getInstance(TimeZone.getTimeZone("UTC")).run {
15
- "${get(Calendar.YEAR)}.${get(Calendar.MONTH) + 1}.${get(Calendar.DAY_OF_MONTH)}"
+ "${get(Calendar.YEAR)}.${get(Calendar.MONTH) + 1}.${get(Calendar.DAY_OF_MONTH)}.${get(Calendar.HOUR_OF_DAY)}${get(Calendar.MINUTE)}"
16
}
17
18
repositories {
0 commit comments