mirror of
https://github.com/PaiGramTeam/GetToken.git
synced 2024-11-21 22:48:07 +00:00
fix post build script
This commit is contained in:
parent
4c863a303f
commit
ddf1e96e9b
2
.github/utils.js
vendored
2
.github/utils.js
vendored
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user