[1.4.5] The release date was shown on the release notes web page.

master
Tudor Stanciu 2022-10-23 03:08:27 +03:00
parent 07420b6569
commit 0bc1f9d9c6
7 changed files with 18 additions and 9 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
echo "Welcome!"
version="1.4.2"
version="1.4.5"
platform="linux/amd64,linux/arm64,linux/arm/v7"
appSubfolder="/reverse-proxy"
localRegistryPass="***REMOVED***"

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "reverse-proxy-frontend",
"version": "1.4.2",
"version": "1.4.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "reverse-proxy-frontend",
"version": "1.4.2",
"version": "1.4.5",
"private": true,
"description": "Reverse proxy frontend application",
"author": {

View File

@ -99,7 +99,8 @@
},
"ReleaseNotes": {
"Title": "Release notes",
"Version": "Version"
"Version": "Version",
"Date": "Date"
},
"Server": {
"Title": "Server",

View File

@ -90,7 +90,8 @@
},
"ReleaseNotes": {
"Title": "Note lansare",
"Version": "Versiune"
"Version": "Versiune",
"Date": "Dată"
},
"Server": {
"Title": "Server",

View File

@ -1,8 +1,8 @@
#!/bin/sh
echo "Welcome!"
version="1.4.2"
oldver="1.4.1"
version="1.4.5"
oldver="1.4.2"
echo "Pull docker image reverse-proxy-frontend:$version from registry."
docker pull alpine-nexus:8500/reverse-proxy/reverse-proxy-frontend:$version

View File

@ -13,13 +13,20 @@ const ReleaseNotesSummary = ({ releaseNote, collapsed }) => {
return (
<Grid container className={classes.miniContainer}>
<Grid item xs={12} sm={2} md={2}>
<Grid item xs={6} sm={2} md={2}>
<Typography variant={collapsed ? "subtitle2" : "h6"}>
{`${t("ReleaseNotes.Version")}: ${releaseNote.version}`}
</Typography>
</Grid>
<Grid item xs={6} sm={2} md={collapsed ? 2 : 4}>
<Typography variant={collapsed ? "subtitle2" : "h6"}>
{`${t("ReleaseNotes.Date")}: ${t("DATE_FORMAT", {
date: { value: releaseNote.date, format: "DD-MM-YYYY HH:mm" }
})}`}
</Typography>
</Grid>
{collapsed && (
<Grid item xs={12} sm={10} md={10}>
<Grid item xs={12} sm={8} md={8}>
<Typography variant="body2">{releaseNote.notes[0]}</Typography>
</Grid>
)}