Commit 4e244dc1
4e244dc16551Merged
Dmitriy Zhilyaev <[email protected]> ยท 2 years ago ยท 1 file ยท ~1 modified
Description
fix(ci): always create tag
Signed-off-by: Dmitriy Zhilyaev [email protected]
Details
- Commit
- 4e244dc16551
- Parent
- fc6f61473eae
.github/workflows/release-tag.ymlmodifiedView file
@@ -30,8 +30,7 @@
3030
}3131
3232
github.rest.git.createRef(ref).catch(err => {33-
if (err.status !== 422) throw err;34-
github.rest.git.updateRef(ref);33+
if (err.status == 422) github.rest.git.updateRef(ref);3534
})3635
result-encoding: string3736