Update the pipeline to produce a tarball of the source upon every commit.
Unfortunately, it's not possible to preserve previous tarballs from run to run.
This commit is contained in:
parent
2f9d798574
commit
afba06504a
2 changed files with 18 additions and 18 deletions
6
Makefile
6
Makefile
|
@ -67,9 +67,9 @@ DOCS=COPYING NEWS README.adoc TODO \
|
|||
# Can't use GNU tar's --transform, needs to build under Alpine Linux
|
||||
advent-$(VERS).tar.gz: $(SOURCES) $(DOCS)
|
||||
@ls $(SOURCES) $(DOCS) | sed s:^:advent-$(VERS)/: >MANIFEST
|
||||
@(cd ..; ln -s advent advent-$(VERS))
|
||||
(cd ..; tar -czvf advent/advent-$(VERS).tar.gz `cat advent/MANIFEST`)
|
||||
@(cd ..; rm advent-$(VERS))
|
||||
@(ln -s . advent-$(VERS))
|
||||
(tar -T MANIFEST -czvf advent-$(VERS).tar.gz)
|
||||
@(rm advent-$(VERS))
|
||||
|
||||
dist: advent-$(VERS).tar.gz
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue