This commit is contained in:
Horis committed 2024-07-25 17:10:23 +08:00
1 parent 4c054eaf53
commit 9a62cdbf52
1 file changed
+1 -1
+1 -1
View File
@@ -190,7 +190,7 @@ jobs:
try { try {
await client.git.createRef(refInfo); await client.git.createRef(refInfo);
} catch (err: any) { } catch (err) {
const existingTag = refInfo.ref.substring(5); // 'refs/tags/latest' => 'tags/latest' const existingTag = refInfo.ref.substring(5); // 'refs/tags/latest' => 'tags/latest'
core.info( core.info(
`Could not create new tag "${refInfo.ref}" (${err.message}) therefore updating existing tag "${existingTag}"`, `Could not create new tag "${refInfo.ref}" (${err.message}) therefore updating existing tag "${existingTag}"`,