This commit is contained in:
Horis
2024-07-25 17:10:23 +08:00
parent d5b90d85ea
commit df8ece90be

View File

@@ -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}"`,