We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93b5456 commit 4d45218Copy full SHA for 4d45218
Makefile
@@ -1,7 +1,18 @@
1
.DEFAULT_GOAL := lint
2
3
+RELEASE_VERSION = $(shell .build/release/hostmgr --version)
4
+
5
lint:
6
docker run -it --rm -v `pwd`:`pwd` -w `pwd` ghcr.io/realm/swiftlint:0.47.1 swiftlint lint --strict
7
8
autocorrect:
9
docker run -it --rm -v `pwd`:`pwd` -w `pwd` ghcr.io/realm/swiftlint:0.47.1 swiftlint --autocorrect
10
11
+build-release:
12
+ @echo "--- Building Release"
13
+ swift build -c release
14
15
+release: build-release
16
+ @echo "--- Tagging Release"
17
+ git tag $(RELEASE_VERSION)
18
+ git push origin $(RELEASE_VERSION)
0 commit comments