updated version number to 1.7.2

pull/127/head
13621160019@163.com 2022-02-19 08:44:35 +08:00
parent 03e3f563fd
commit ea992ee849
8 changed files with 601 additions and 485 deletions

View File

@ -1,5 +1,5 @@
<div class="footer-login">
<div>
<strong>{{'MY_EMS_NAME' | translate}} v1.7.1 <a href="https://myems.io">https://myems.io</a> </strong>
<strong>{{'MY_EMS_NAME' | translate}} v1.7.2 <a href="https://myems.io">https://myems.io</a> </strong>
</div>
</div>

View File

@ -3,6 +3,6 @@
<strong><a href="https://myems.io">https://myems.io</a></strong>
</div>
<div>
<strong>{{'MY_EMS_NAME' | translate}} v1.7.1</strong>
<strong>{{'MY_EMS_NAME' | translate}} v1.7.2</strong>
</div>
</div>

View File

@ -1246,6 +1246,6 @@ USE `myems_system_db`;
INSERT INTO `myems_system_db`.`tbl_versions`
(`id`, `version`, `release_date`)
VALUES
(1, '1.7.1', '2022-02-11');
(1, '1.7.2', '2022-02-19');
COMMIT;

View File

@ -0,0 +1,12 @@
-- ---------------------------------------------------------------------------------------------------------------------
-- WARNING: BACKUP YOUR DATABASE BEFORE UPGRADING
-- THIS SCRIPT IS ONLY FOR UPGRADING 1.7.1 TO 1.7.2
-- THE CURRENT VERSION CAN BE FOUND AT `myems_system_db`.`tbl_versions`
-- ---------------------------------------------------------------------------------------------------------------------
START TRANSACTION;
-- UPDATE VERSION NUMBER
UPDATE `myems_system_db`.`tbl_versions` SET version='1.7.2', release_date='2022-02-19' WHERE id=1;
COMMIT;

View File

@ -15,8 +15,8 @@ class VersionItem:
@staticmethod
def on_get(req, resp):
result = {"version": 'MyEMS v1.7.1',
"release-date": '2022-02-11',
result = {"version": 'MyEMS v1.7.2',
"release-date": '2022-02-19',
"website": "https://myems.io"}
resp.text = json.dumps(result)

1060
web/package-lock.json generated vendored

File diff suppressed because it is too large Load Diff

2
web/package.json vendored
View File

@ -1,6 +1,6 @@
{
"name": "myems",
"version": "1.7.1",
"version": "1.7.2",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.1",

View File

@ -1,4 +1,4 @@
export const version = '1.7.1';
export const version = '1.7.2';
export const navbarBreakPoint = 'xl'; // Vertical navbar breakpoint
export const topNavbarBreakpoint = 'lg';
//export const APIBaseURL = 'http://127.0.0.1:8000';