We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfa6fda commit 0719fd2Copy full SHA for 0719fd2
.gitignore
@@ -9,6 +9,7 @@
9
/*.xcodeproj
10
*.tar.gz
11
*.zip
12
+sha*.txt
13
14
## Build generated
15
build/
Makefile
@@ -36,6 +36,10 @@ zip: build
36
37
get_sha:
38
curl -OLs https://github.com/eneko/$(TOOL_NAME)/archive/$(VERSION).tar.gz
39
- shasum -a 256 $(TAR_FILENAME)
+ shasum -a 256 $(TAR_FILENAME) | cut -f 1 -d " " > sha_$(VERSION).txt
40
rm $(TAR_FILENAME)
41
42
+brew_push: get_sha
43
+ SHA=$(shell cat sha_$(VERSION).txt); \
44
+ brew bump-formula-pr --url=https://github.com/eneko/$(TOOL_NAME)/archive/$(VERSION).tar.gz --sha256=$$SHA
45
+
0 commit comments