提交 fc2ad393 编写于 作者: X xjh22222228

v5.0.1

上级 b8a0ad9a
......@@ -4,8 +4,12 @@ import fs from 'fs'
import config from './nav.config.js'
import path from 'path'
function addZero(num) {
return num < 10 ? '0' + num : num
}
const now = new Date()
const date = `${now.getMonth() + 1}-${now.getDate()}-${now.getDay()} ${now.getHours()}:${now.getMinutes()}`
const date = `${now.getFullYear()}${addZero(now.getMonth() + 1)}${addZero(now.getDate())}${addZero(now.getHours())}:${addZero(now.getMinutes())}`
const { description, title, keywords, baiduStatisticsUrl } = config.default
const htmlTemplate = `
......
{
"name": "nav",
"version": "5.0.0-beta.1",
"version": "5.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
{
"name": "nav",
"version": "5.0.0",
"version": "5.0.1",
"author": "xiejiahe",
"bugs": {
"url": "https://github.com/xjh22222228/nav/issues"
......
......@@ -4,4 +4,4 @@ export const VERIFY_PATH = 'nav.verify.txt'
export const DB_PATH = 'data/db.json'
export const VERSION = '5.0.0'
export const VERSION = '5.0.1'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册