changelog-gen: исправил формат даты для сохранения
This commit is contained in:
@@ -188,11 +188,11 @@ proc GenerateChangelogRPM {} {
|
|||||||
if {$lastCommitTimeStamp eq ""} {
|
if {$lastCommitTimeStamp eq ""} {
|
||||||
set lastCommitTimeStamp [string trim [lindex $record 1]]
|
set lastCommitTimeStamp [string trim [lindex $record 1]]
|
||||||
}
|
}
|
||||||
set timeStamp [clock format [clock scan $timeStamp] -format {%a %e %b %Y}]
|
set timeStamp [clock format [clock scan $timeStamp] -format {%a, %e %b %Y %H:%M:%S %z}]
|
||||||
if {$index == 0} {
|
if {$index == 0} {
|
||||||
set commiter [lindex $record 2]
|
set commiter [lindex $record 2]
|
||||||
append outText "$timeStamp [string trim $commiter] <$email> $args(--project-version)-$args(--project-release)\n"
|
append outText "$timeStamp [string trim $commiter] <$email> $args(--project-version)-$args(--project-release)\n"
|
||||||
StoreProjectInfo $timeStamp "deb"
|
StoreProjectInfo $timeStamp "rpm"
|
||||||
}
|
}
|
||||||
if {$commiter ne [lindex $record 2]} {
|
if {$commiter ne [lindex $record 2]} {
|
||||||
append outText "\n"
|
append outText "\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user