working on the article

This commit is contained in:
2025-07-27 21:21:39 +06:00
parent bf25c33b3f
commit e018e30975
5 changed files with 1714 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: build clean test
.PHONY: build clean test release
BIN_DIR=bin
APP_NAME=hello-api
@@ -12,4 +12,14 @@ clean:
rm -rf $(BIN_DIR)
test:
go test -v ./...
go test -v ./...
# Задача для создания релиза
# Использование: make release VERSION=1.0.25
release:
# @if [ -z "$(VERSION)" ]; then \
# echo "Ошибка: Необходимо указать версию"; \
# echo "Использование: make release VERSION=1.0.25"; \
# exit 1; \
# fi
@./scripts/release-interactive.sh $(VERSION)