Skip to content

Commit

Permalink
fix: 更新日志错误
Browse files Browse the repository at this point in the history
  • Loading branch information
a145789 committed Jul 16, 2024
1 parent 5011c55 commit 41978cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import fs from "node:fs";
import { context, getOctokit } from "@actions/github";
import fetch from "node-fetch";

import updatelog from "./updatelog.mjs";

const token = process.env.GITHUB_TOKEN;

async function updater() {
Expand Down Expand Up @@ -39,7 +37,7 @@ async function updater() {
const updateData = {
version: tag.name,
// 使用 UPDATE_LOG.md,如果不需要版本更新日志,则将此字段置空
notes: updatelog(tag.name),
notes: "",
pub_date: new Date().toISOString(),
platforms: {
win64: { signature: "", url: "" }, // compatible with older formats
Expand Down

0 comments on commit 41978cc

Please sign in to comment.