chore: Enhance release workflow (#1400)
* Rename package-release to release * Move tarball creation in Makefile * Enhance release workflow * Add --ignore-platform-reqs to composer build
This commit is contained in:
parent
8411c6225f
commit
4335795c52
4 changed files with 32 additions and 74 deletions
16
Makefile
16
Makefile
|
@ -17,3 +17,19 @@ shell-check:
|
|||
|
||||
VERSION:
|
||||
tools/version.sh
|
||||
|
||||
.PHONY: tarball
|
||||
tarball: VERSION
|
||||
$(MAKE) -C legacy build
|
||||
cd .. && tar -czf libretime-$(shell cat VERSION | tr -d [:blank:]).tar.gz \
|
||||
--owner=root --group=root \
|
||||
--exclude-vcs \
|
||||
--exclude .codespellignore \
|
||||
--exclude .git* \
|
||||
--exclude .pre-commit-config.yaml \
|
||||
--exclude dev_tools \
|
||||
--exclude jekyll.sh \
|
||||
--exclude legacy/vendor/phing \
|
||||
--exclude legacy/vendor/simplepie/simplepie/tests \
|
||||
libretime
|
||||
mv ../libretime-*.tar.gz .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue