fix latest

This commit is contained in:
peaceiris 2019-09-16 02:34:54 +09:00
parent 67efaf1f63
commit e07f1d30e8

View file

@ -8,7 +8,9 @@ async function run() {
try { try {
let hugoVersion = core.getInput("hugo-version"); let hugoVersion = core.getInput("hugo-version");
if (!hugoVersion) { if (!hugoVersion) {
hugoVersion = "latest"; // TODO: get latest version of Hugo
// hugoVersion = "latest";
hugoVersion = "0.58.2";
} else if (hugoVersion === "latest") { } else if (hugoVersion === "latest") {
// TODO: get latest version of Hugo // TODO: get latest version of Hugo
hugoVersion = "0.58.2"; hugoVersion = "0.58.2";