diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-29 17:45:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-29 17:45:54 +0200 |
commit | 1412d2c245aeed41f1aad928b0aab9d292c1b383 (patch) | |
tree | e82d3bcaf7b7679a8f8bce97097ab51c1776197b /Makefile | |
parent | a4f0509a77a39d1ac834d4967e3e8f245de6d68d (diff) | |
parent | a136a427ae82648a0fac533583f68806f931ae8d (diff) | |
download | Shaarli-1412d2c245aeed41f1aad928b0aab9d292c1b383.tar.gz Shaarli-1412d2c245aeed41f1aad928b0aab9d292c1b383.tar.zst Shaarli-1412d2c245aeed41f1aad928b0aab9d292c1b383.zip |
Merge pull request #1188 from ArthurHoaro/hotfix/release-include-libs
Include assets in the release_archive Makefile target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -170,6 +170,7 @@ release_tar: composer_dependencies htmldoc translate build_frontend | |||
170 | git archive --prefix=$(ARCHIVE_PREFIX) -o $(ARCHIVE_VERSION).tar HEAD | 170 | git archive --prefix=$(ARCHIVE_PREFIX) -o $(ARCHIVE_VERSION).tar HEAD |
171 | tar rvf $(ARCHIVE_VERSION).tar --transform "s|^vendor|$(ARCHIVE_PREFIX)vendor|" vendor/ | 171 | tar rvf $(ARCHIVE_VERSION).tar --transform "s|^vendor|$(ARCHIVE_PREFIX)vendor|" vendor/ |
172 | tar rvf $(ARCHIVE_VERSION).tar --transform "s|^doc/html|$(ARCHIVE_PREFIX)doc/html|" doc/html/ | 172 | tar rvf $(ARCHIVE_VERSION).tar --transform "s|^doc/html|$(ARCHIVE_PREFIX)doc/html|" doc/html/ |
173 | tar rvf $(ARCHIVE_VERSION).tar --transform "s|^tpl|$(ARCHIVE_PREFIX)tpl|" tpl/ | ||
173 | gzip $(ARCHIVE_VERSION).tar | 174 | gzip $(ARCHIVE_VERSION).tar |
174 | 175 | ||
175 | ### generate a release zip and include 3rd-party dependencies and translations | 176 | ### generate a release zip and include 3rd-party dependencies and translations |
@@ -180,6 +181,8 @@ release_zip: composer_dependencies htmldoc translate build_frontend | |||
180 | zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)doc/ | 181 | zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)doc/ |
181 | rsync -a vendor/ $(ARCHIVE_PREFIX)vendor/ | 182 | rsync -a vendor/ $(ARCHIVE_PREFIX)vendor/ |
182 | zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)vendor/ | 183 | zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)vendor/ |
184 | rsync -a tpl/ $(ARCHIVE_PREFIX)tpl/ | ||
185 | zip -r $(ARCHIVE_VERSION).zip $(ARCHIVE_PREFIX)tpl/ | ||
183 | rm -rf $(ARCHIVE_PREFIX) | 186 | rm -rf $(ARCHIVE_PREFIX) |
184 | 187 | ||
185 | ## | 188 | ## |