diff --git a/main.go b/main.go index db52cca..0330e0a 100644 --- a/main.go +++ b/main.go @@ -7,7 +7,7 @@ import ( "github.com/gin-gonic/gin" ) -const version = "1.0.0" +const version = "1.0.25" func main() { // Set Gin mode diff --git a/makefile b/makefile index 1e1d1b7..cd967d5 100644 --- a/makefile +++ b/makefile @@ -17,9 +17,12 @@ test: # Задача для создания релиза # Использование: 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) \ No newline at end of file + @if [ -z "$(VERSION)" ]; then \ + echo "Ошибка: Необходимо указать версию в формате v1.0.25"; \ + echo "Использование: make release VERSION=1.0.25"; \ + exit 1; \ + fi + @./scripts/release-interactive.sh $(VERSION) + +release-interactive: + @./scripts/release-interactive.sh \ No newline at end of file