mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -190,7 +190,7 @@ jobs:
|
||||
|
||||
try {
|
||||
await client.git.createRef(refInfo);
|
||||
} catch (err: any) {
|
||||
} catch (err) {
|
||||
const existingTag = refInfo.ref.substring(5); // 'refs/tags/latest' => 'tags/latest'
|
||||
core.info(
|
||||
`Could not create new tag "${refInfo.ref}" (${err.message}) therefore updating existing tag "${existingTag}"`,
|
||||
|
||||
Reference in New Issue
Block a user