Makefile: Add the ability to create a source code release with all deps #104240
4
Makefile
4
Makefile
@ -382,8 +382,8 @@ release-package-windows:
|
|||||||
release-package-source: vendor
|
release-package-source: vendor
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
rm -f dist/${RELEASE_SOURCE_ARCHIVE_GZ}
|
rm -f dist/${RELEASE_SOURCE_ARCHIVE_GZ}
|
||||||
git archive -o dist/${RELEASE_SOURCE_ARCHIVE} HEAD
|
git archive --prefix=flamenco-${VERSION}/ -o dist/${RELEASE_SOURCE_ARCHIVE} HEAD
|
||||||
tar -rvf dist/${RELEASE_SOURCE_ARCHIVE} vendor web/app/package-cache
|
tar --transform 's,^,flamenco-${VERSION}/,' -rvf dist/${RELEASE_SOURCE_ARCHIVE} vendor web/app/package-cache
|
||||||
|
|||||||
gzip dist/${RELEASE_SOURCE_ARCHIVE}
|
gzip dist/${RELEASE_SOURCE_ARCHIVE}
|
||||||
@echo "Done! Created ${RELEASE_SOURCE_ARCHIVE_GZ}"
|
@echo "Done! Created ${RELEASE_SOURCE_ARCHIVE_GZ}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user
What's the reason to use
gzip
separately? Why not just usetar z
?