Skip to content

Commit

Permalink
Release v3.0.1-beta.9
Browse files Browse the repository at this point in the history
  • Loading branch information
vapao committed Sep 7, 2021
1 parent f414e95 commit 00c11ca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion spug_api/apps/account/management/commands/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,6 @@ def handle(self, *args, **options):
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版本一致哦~'))
2 changes: 1 addition & 1 deletion spug_api/spug/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
re.compile('/apis/.*'),
)

SPUG_VERSION = 'v3.0.1-beta.8'
SPUG_VERSION = 'v3.0.1-beta.9'

# override default config
try:
Expand Down
2 changes: 1 addition & 1 deletion spug_api/tools/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

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):
Expand Down
2 changes: 1 addition & 1 deletion spug_web/src/libs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit 00c11ca

Please sign in to comment.