Skip to content

Commit

Permalink
jeeez.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall committed Jun 27, 2019
1 parent c94c2e2 commit c154170
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ uninstall:
rm -f /etc/systemd/system/$(BINARY).service

# Prepare a release. Called in Travis CI.
release: clean vendor test macos windows formula $(BINARY)-$(RPMVERSION)-$(ITERATION).x86_64.rpm $(BINARY)_$(VERSION)-$(ITERATION)_amd64.deb
release: clean vendor test macos windows $(BINARY)-$(RPMVERSION)-$(ITERATION).x86_64.rpm $(BINARY)_$(VERSION)-$(ITERATION)_amd64.deb
# Prepareing a release!
mkdir -p release
mv $(BINARY).linux $(BINARY).macos release/
Expand Down
4 changes: 4 additions & 0 deletions scripts/formula-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
if [ -z "$VERSION" ]; then
VERSION=$TRAVIS_TAG
fi
VERSION=$(echo $VERSION|tr -d v)

make unpacker-poller.rb VERSION=$VERSION

if [ -z "$VERSION" ]; then
VERSION=$(grep -E 'archive/v.*tar.gz\s*"' unpacker-poller.rb | grep -Eo 'v([0-9]+\.[0-9]+\.[0-9]*)')
fi
Expand Down

0 comments on commit c154170

Please sign in to comment.