Skip to content

Commit

Permalink
Update to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yonaskolb committed Apr 9, 2018
1 parent c0beb0a commit 3e0a4c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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`"

Expand All @@ -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)"
Expand Down
2 changes: 1 addition & 1 deletion Sources/GenesisCLI/GenesisCLI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3e0a4c4

Please sign in to comment.