feat: Update version to 1.7.3 in Makefile, docker-build.sh, and pyproject.toml
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,5 +1,5 @@
|
|||||||
TARGET=thechart
|
TARGET=thechart
|
||||||
VERSION=1.6.1
|
VERSION=1.7.3
|
||||||
ROOT=/home/will
|
ROOT=/home/will
|
||||||
ICON=chart-671.png
|
ICON=chart-671.png
|
||||||
SHELL=fish
|
SHELL=fish
|
||||||
@@ -85,7 +85,7 @@ install: ## Set up the development environment
|
|||||||
@echo "To run tests: make test"
|
@echo "To run tests: make test"
|
||||||
build: ## Build the Docker image
|
build: ## Build the Docker image
|
||||||
@echo "Building the Docker image..."
|
@echo "Building the Docker image..."
|
||||||
docker buildx build --platform linux/amd64,linux/arm64 -t ${IMAGE} --push .
|
docker buildx build --platform linux/amd64 -t ${IMAGE} --push .
|
||||||
deploy: ## Deploy the application as a standalone executable
|
deploy: ## Deploy the application as a standalone executable
|
||||||
@echo "Deploying the application..."
|
@echo "Deploying the application..."
|
||||||
pyinstaller --name ${TARGET} --optimize 2 --onefile --windowed --hidden-import='PIL._tkinter_finder' --icon='${ICON}' --add-data="./.env:." --add-data='./chart-671.png:.' --add-data='./thechart_data.csv:.' --log-level=DEBUG src/main.py
|
pyinstaller --name ${TARGET} --optimize 2 --onefile --windowed --hidden-import='PIL._tkinter_finder' --icon='${ICON}' --add-data="./.env:." --add-data='./chart-671.png:.' --add-data='./thechart_data.csv:.' --log-level=DEBUG src/main.py
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
CONTAINER_ENGINE="docker" # podman | docker
|
CONTAINER_ENGINE="docker" # podman | docker
|
||||||
VERSION="v1.0.0"
|
VERSION="v1.7.3"
|
||||||
REGISTRY="gitea-http.taildb3494.ts.net/will/thechart"
|
REGISTRY="gitea-http.taildb3494.ts.net/will/thechart"
|
||||||
|
|
||||||
if [ "$CONTAINER_ENGINE" == "podman" ];
|
if [ "$CONTAINER_ENGINE" == "podman" ];
|
||||||
then
|
then
|
||||||
buildah build \
|
buildah build \
|
||||||
-t $REGISTRY:$VERSION \
|
-t $REGISTRY:$VERSION \
|
||||||
--platform linux/amd64,linux/arm64/v8 \
|
--platform linux/amd64 \
|
||||||
--no-cache .
|
--no-cache .
|
||||||
else
|
else
|
||||||
DOCKER_BUILDKIT=1 \
|
DOCKER_BUILDKIT=1 \
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64/v8 \
|
--platform linux/amd64 \
|
||||||
-t $REGISTRY:$VERSION \
|
-t $REGISTRY:$VERSION \
|
||||||
--no-cache \
|
--no-cache \
|
||||||
--push .
|
--push .
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "thechart"
|
name = "thechart"
|
||||||
version = "1.6.1"
|
version = "1.7.3"
|
||||||
description = "Chart to monitor your medication intake over time."
|
description = "Chart to monitor your medication intake over time."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
|
|||||||
Reference in New Issue
Block a user