Skip to content

Commit

Permalink
[#77] add docker script to update manifest version on app build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreezag committed Aug 23, 2024
1 parent 9ddcf3d commit e5595ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ ENV VITE_APP_MODE=production

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

RUN sed -i "s/\"version\": \".*\"/\"version\": \"${APP_VERSION}\"/" src/static/manifest.json

RUN yarn install --ignore-scripts
RUN yarn generate
RUN rm -rf node_modules
Expand Down
4 changes: 2 additions & 2 deletions src/static/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"version": "1.22.1",
"short_name": "Buggregator",
"name": "Buggregator",
"manifest_version": 2,
Expand All @@ -21,6 +22,5 @@
"display": "standalone",
"scope": "/",
"theme_color": "#1F2937",
"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",
"version": "1.22.1"
"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."
}

0 comments on commit e5595ef

Please sign in to comment.