Skip to content

Commit e5595ef

Browse files
committed
[#77] add docker script to update manifest version on app build
1 parent 9ddcf3d commit e5595ef

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.docker/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ ENV VITE_APP_MODE=production
1616

1717
RUN sed -i "s/\"version\": \".*\"/\"version\": \"${APP_VERSION}\"/" package.json
1818

19+
RUN sed -i "s/\"version\": \".*\"/\"version\": \"${APP_VERSION}\"/" src/static/manifest.json
20+
1921
RUN yarn install --ignore-scripts
2022
RUN yarn generate
2123
RUN rm -rf node_modules

src/static/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"version": "1.22.1",
23
"short_name": "Buggregator",
34
"name": "Buggregator",
45
"manifest_version": 2,
@@ -21,6 +22,5 @@
2122
"display": "standalone",
2223
"scope": "/",
2324
"theme_color": "#1F2937",
24-
"description": "Buggregator is a free, multi-purpose server tool designed primarily for debugging PHP applications, but it's also compatible with other programming languages. Think of it as a Swiss Army knife for developers. What makes it special is that it offers a range of features that you would usually find in various paid tools, but it's available for free.\n\n",
25-
"version": "1.22.1"
25+
"description": "Buggregator is a free, multi-purpose server tool designed primarily for debugging PHP applications, but it's also compatible with other programming languages. Think of it as a Swiss Army knife for developers. What makes it special is that it offers a range of features that you would usually find in various paid tools, but it's available for free."
2626
}

0 commit comments

Comments
 (0)