Skip to content

Commit

Permalink
Include spec into release tarball
Browse files Browse the repository at this point in the history
This will also build the spec file as part of `make`, which unbreaks
automatic cockpituous releases.
  • Loading branch information
martinpitt committed Oct 26, 2018
1 parent 127c1e7 commit 8a480d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ install: all
cp -r public/* /usr/share/cockpit/welder

dist-gzip: NODE_ENV=production
dist-gzip: all
dist-gzip: all $(PACKAGE_NAME).spec
mkdir -p $(PACKAGE_NAME)-$(VERSION)
cp -r public/ LICENSE.txt README.md $(PACKAGE_NAME)-$(VERSION)
cp -r public/ LICENSE.txt README.md $(PACKAGE_NAME).spec $(PACKAGE_NAME)-$(VERSION)
tar -czf $(PACKAGE_NAME)-$(VERSION).tar.gz $(PACKAGE_NAME)-$(VERSION)
rm -rf $(PACKAGE_NAME)-$(VERSION)

Expand Down

0 comments on commit 8a480d7

Please sign in to comment.