From 3e0a4c4f47aa3b9621ed98526932ccd4a051b117 Mon Sep 17 00:00:00 2001 From: Yonas Kolb Date: Tue, 10 Apr 2018 01:37:37 +1000 Subject: [PATCH] Update to 0.2.0 --- Makefile | 6 ++++-- Sources/GenesisCLI/GenesisCLI.swift | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 973ed46..3bbe953 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ TOOL_NAME = Genesis export EXECUTABLE_NAME = genesis -VERSION = 0.1.0 +VERSION = 0.2.0 PREFIX = /usr/local INSTALL_PATH = $(PREFIX)/bin/$(EXECUTABLE_NAME) @@ -27,6 +27,8 @@ uninstall: format_code: swiftformat Tests --wraparguments beforefirst --stripunusedargs closure-only --header strip --disable blankLinesAtStartOfScope swiftformat Sources --wraparguments beforefirst --stripunusedargs closure-only --header strip --disable blankLinesAtStartOfScope + +commit_format_code: format_code git add . git commit -m "Format code with `swiftformat --version`" @@ -38,7 +40,7 @@ update_brew: git commit -m "Update brew to $(VERSION)" release: format_code - sed -i '' 's|\(let version = "\)\(.*\)\("\)|\1$(VERSION)\3|' Sources/XcodeGen/main.swift + sed -i '' 's|\(let version = "\)\(.*\)\("\)|\1$(VERSION)\3|' Sources/GenesisCLI/GenesisCLI.swift git add . git commit -m "Update to $(VERSION)" diff --git a/Sources/GenesisCLI/GenesisCLI.swift b/Sources/GenesisCLI/GenesisCLI.swift index 9b5bdb9..9c9451c 100644 --- a/Sources/GenesisCLI/GenesisCLI.swift +++ b/Sources/GenesisCLI/GenesisCLI.swift @@ -3,7 +3,7 @@ import SwiftCLI public class GenesisCLI { - public let version: String = "0.1.0" + public let version = "0.2.0" let cli: CLI let stream: Streams