mirror of https://github.com/openspug/spug
parent
f414e9504f
commit
00c11cafcf
|
@ -76,4 +76,6 @@ class Command(BaseCommand):
|
|||
self.stdout.write(self.style.SUCCESS('''升级成功,请自行重启服务,如果通过官方文档安装一般重启命令为
|
||||
Docker: docker restart spug
|
||||
Centos: systemctl restart supervisord
|
||||
Ubuntu: systemctl restart supervisor'''))
|
||||
Ubuntu: systemctl restart supervisor
|
||||
'''))
|
||||
self.stderr.write(self.style.WARNING(f'最后别忘了刷新浏览器,确保系统设置/关于里的api与web版本一致哦~'))
|
||||
|
|
|
@ -131,7 +131,7 @@ AUTHENTICATION_EXCLUDES = (
|
|||
re.compile('/apis/.*'),
|
||||
)
|
||||
|
||||
SPUG_VERSION = 'v3.0.1-beta.8'
|
||||
SPUG_VERSION = 'v3.0.1-beta.9'
|
||||
|
||||
# override default config
|
||||
try:
|
||||
|
|
|
@ -17,7 +17,7 @@ import os
|
|||
|
||||
if __name__ == '__main__':
|
||||
version = sys.argv[1]
|
||||
if version <= 'v3.0.1-beta.8':
|
||||
if version <= 'v3.0.2':
|
||||
old_path = os.path.join(settings.BASE_DIR, 'repos')
|
||||
new_path = os.path.join(settings.REPOS_DIR)
|
||||
if not os.path.exists(new_path):
|
||||
|
|
|
@ -10,4 +10,4 @@ export * from './functools';
|
|||
export * from './router';
|
||||
export const http = _http;
|
||||
export const history = _history;
|
||||
export const VERSION = 'v3.0.1-beta.8';
|
||||
export const VERSION = 'v3.0.1-beta.9';
|
||||
|
|
Loading…
Reference in New Issue