Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #25 from Nonchalant/feature/sha256
Browse files Browse the repository at this point in the history
sha256
  • Loading branch information
Nonchalant committed May 20, 2017
2 parents ce297f2 + dba08ff commit b2dbdd8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Expand Up @@ -4,7 +4,7 @@ OS?=sierra
PREFIX?=/usr/local
PROJECT?=AppIcon
RELEASE_BINARY_FOLDER?=$(BUILD_FOLDER)/release/$(PROJECT)
VERSION?=0.2.2
VERSION?=0.3.0

build:
swift build -c release -Xswiftc -static-stdlib
Expand All @@ -30,7 +30,10 @@ bottle: clean build
cp INSTALL_RECEIPT.json $(BINARY)/$(VERSION)/INSTALL_RECEIPT.json
cp -f $(RELEASE_BINARY_FOLDER) $(BINARY)/$(VERSION)/bin/$(BINARY)
tar cfvz $(BINARY)-$(VERSION).$(OS).bottle.tar.gz --exclude='*/.*' $(BINARY)
shasum -a 256 $(BINARY)-$(VERSION).$(OS).bottle.tar.gz
rm -rf $(BINARY)

sha256:
shasum -a 256 $(BINARY)-$(VERSION).$(OS).bottle.tar.gz
wget https://github.com/Nonchalant/$(PROJECT)/archive/$(VERSION).tar.gz -O $(PROJECT)-$(VERSION).tar.gz
shasum -a 256 $(PROJECT)-$(VERSION).tar.gz
rm $(PROJECT)-$(VERSION).tar.gz

0 comments on commit b2dbdd8

Please sign in to comment.