From c2e81832a9a88b47f5a847e926f3c456858135db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Malak?= Date: Mon, 21 Mar 2022 12:16:48 +0100 Subject: [PATCH] Added build scripts. Pushed version 2.2.2 --- .dev/build_latest.sh | 2 ++ .dev/build_multiarch.sh | 6 ++++++ .env | 2 +- .gitignore | 3 +-- CHANGELOG.md | 3 ++- client/.env | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 .dev/build_latest.sh create mode 100644 .dev/build_multiarch.sh diff --git a/.dev/build_latest.sh b/.dev/build_latest.sh new file mode 100644 index 0000000..9621433 --- /dev/null +++ b/.dev/build_latest.sh @@ -0,0 +1,2 @@ +docker build -t pawelmalak/flame -t "pawelmalak/flame:$1" -f .docker/Dockerfile "$2" \ + && docker push pawelmalak/flame && docker push "pawelmalak/flame:$1" \ No newline at end of file diff --git a/.dev/build_multiarch.sh b/.dev/build_multiarch.sh new file mode 100644 index 0000000..ef1e10c --- /dev/null +++ b/.dev/build_multiarch.sh @@ -0,0 +1,6 @@ +docker buildx build \ + --platform linux/arm/v7,linux/arm64,linux/amd64 \ + -f .docker/Dockerfile.multiarch \ + -t pawelmalak/flame:multiarch \ + -t "pawelmalak/flame:multiarch$1" \ + --push "$2" \ No newline at end of file diff --git a/.env b/.env index d5f54d5..887f01e 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ PORT=5005 NODE_ENV=development -VERSION=2.2.1 +VERSION=2.2.2 PASSWORD=flame_password SECRET=e02eb43d69953658c6d07311d6313f2d4467672cb881f96b29368ba1f3f4da4b \ No newline at end of file diff --git a/.gitignore b/.gitignore index 147804b..d53b3ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ node_modules data public -!client/public -build.sh \ No newline at end of file +!client/public \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c28eefd..e3d3e1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ -### v2.2.2 (2022-02-TBA) +### v2.2.2 (2022-03-21) - Added option to get user location directly from the app ([#287](https://github.com/pawelmalak/flame/issues/287)) - Fixed bug with local search not working when using prefix ([#289](https://github.com/pawelmalak/flame/issues/289)) - Fixed bug with app description not updating when using custom icon ([#310](https://github.com/pawelmalak/flame/issues/310)) +- Changed permissions to some files and directories created by Flame - Changed some of the settings tabs ### v2.2.1 (2022-01-08) diff --git a/client/.env b/client/.env index edd69d9..f31a910 100644 --- a/client/.env +++ b/client/.env @@ -1 +1 @@ -REACT_APP_VERSION=2.2.1 \ No newline at end of file +REACT_APP_VERSION=2.2.2 \ No newline at end of file