[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 #!/bin/bash
echo "Welcome!" echo "Welcome!"
version="1.4.2" version="1.4.5"
platform="linux/amd64,linux/arm64,linux/arm/v7" platform="linux/amd64,linux/arm64,linux/arm/v7"
appSubfolder="/reverse-proxy" appSubfolder="/reverse-proxy"
localRegistryPass="***REMOVED***" localRegistryPass="***REMOVED***"

2
package-lock.json generated
View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -13,13 +13,20 @@ const ReleaseNotesSummary = ({ releaseNote, collapsed }) => {
return ( return (
<Grid container className={classes.miniContainer}> <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"}> <Typography variant={collapsed ? "subtitle2" : "h6"}>
{`${t("ReleaseNotes.Version")}: ${releaseNote.version}`} {`${t("ReleaseNotes.Version")}: ${releaseNote.version}`}
</Typography> </Typography>
</Grid> </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 && ( {collapsed && (
<Grid item xs={12} sm={10} md={10}> <Grid item xs={12} sm={8} md={8}>
<Typography variant="body2">{releaseNote.notes[0]}</Typography> <Typography variant="body2">{releaseNote.notes[0]}</Typography>
</Grid> </Grid>
)} )}