fix post build script

This commit is contained in:
HolographicHat 2022-11-23 14:35:31 +08:00
parent 4c863a303f
commit ddf1e96e9b
No known key found for this signature in database
GPG Key ID: 12C8B5B85E5CE5C3

2
.github/utils.js vendored
View File

@ -19,7 +19,7 @@ const getAppVersion = async () => {
const getLatestRelease = async () => { const getLatestRelease = async () => {
const repoLatestVersionRsp = await axios.get(`https://api.github.com/repos/${repo}/releases/latest`) const repoLatestVersionRsp = await axios.get(`https://api.github.com/repos/${repo}/releases/latest`)
return repoLatestVersionRsp.data.name return repoLatestVersionRsp.data
} }
const createRelease = async (name, desc) => { const createRelease = async (name, desc) => {