From 5f79060f5d44aa1f58f7406448fe720009cc56a2 Mon Sep 17 00:00:00 2001 From: yonaskolb Date: Fri, 12 Jul 2019 00:21:07 +1000 Subject: [PATCH] Update to 4.2.0 --- Makefile | 4 ++-- Sources/SwagGen/main.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0f578b7bb..176c092dc 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ TOOL_NAME = swaggen -VERSION = 4.1.0 +VERSION = 4.2.0 PREFIX = /usr/local INSTALL_PATH = $(PREFIX)/bin/$(TOOL_NAME) @@ -34,7 +34,7 @@ update_brew: git add . git commit -m "Update brew to $(VERSION)" -release: format_code +release: sed -i '' 's|\(let version = "\)\(.*\)\("\)|\1$(VERSION)\3|' Sources/SwagGen/main.swift git add . diff --git a/Sources/SwagGen/main.swift b/Sources/SwagGen/main.swift index 4efe1de29..acb7a5538 100644 --- a/Sources/SwagGen/main.swift +++ b/Sources/SwagGen/main.swift @@ -3,7 +3,7 @@ import PathKit import SwagGenKit import SwiftCLI -let version = "4.1.0" +let version = "4.2.0" let generateCommand = GenerateCommand() let cli = CLI(name: "swaggen", version: version, description: "Swagger code generator", commands: [generateCommand]) cli.goAndExit()