fetch tags before looking for them
in case tags were created outside this action (see #5)
This commit is contained in:
parent
861ef9e87f
commit
1308fda634
|
|
@ -62,6 +62,8 @@ async function run() {
|
|||
.split(",")
|
||||
.every(branch => !GITHUB_REF.replace("refs/heads/", "").match(branch));
|
||||
|
||||
await exec("git fetch --tags");
|
||||
|
||||
const hasTag = !!(await exec("git tag")).stdout.trim();
|
||||
let tag = "";
|
||||
let logs = "";
|
||||
|
|
|
|||
Loading…
Reference in New Issue