Add more logs after executing package()
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Elara 2023-01-31 14:05:34 -08:00
parent 3c5613199e
commit eb88fbd123
3 changed files with 20 additions and 0 deletions

View File

@ -380,6 +380,8 @@ func buildPackage(ctx context.Context, script string, mgr manager.Manager, clean
} else {
log.Fatal("The package() function is required").Send()
}
log.Info("Building package metadata").Str("name", vars.Name).Send()
uniq(
&repoDeps,
@ -498,6 +500,8 @@ func buildPackage(ctx context.Context, script string, mgr manager.Manager, clean
if err != nil {
return nil, nil, err
}
log.Info("Compressing package").Str("name", pkgName).Send()
err = packager.Package(pkgInfo, pkgFile)
if err != nil {

View File

@ -110,6 +110,14 @@ value = 'Source can be updated, updating if required'
id = 21753247
value = 'Source found in cache, linked to destination'
[[translation]]
id = 257354570
value = 'Compressing package'
[[translation]]
id = 2952487371
value = 'Building package metadata'
[[translation]]
id = 1579384326
value = 'name'

View File

@ -106,6 +106,14 @@ value = 'Источник может быть обновлен, если тре
id = 21753247
value = 'Источник найден в кэше'
[[translation]]
id = 257354570
value = 'Сжатие пакета'
[[translation]]
id = 2952487371
value = 'Создание метаданных пакета'
[[translation]]
id = 1579384326
value = 'название'