mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
release: automate upload of pre-release tarballs
The tarballs were requested by some distro-packagers, and this automation will hopefully reduce the number of errors from the current manual process.
This commit is contained in:
parent
83f4e5babb
commit
78aaef9a0b
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ pre-release:
|
||||||
pristine-tar commit $(DEB_TAR_FILE) $(UPSTREAM_TAG)
|
pristine-tar commit $(DEB_TAR_FILE) $(UPSTREAM_TAG)
|
||||||
mkdir -p releases
|
mkdir -p releases
|
||||||
mv $(TAR_FILE) $(DEB_TAR_FILE) $(SHA256_FILE) $(DETACHED_SIG_FILE) releases
|
mv $(TAR_FILE) $(DEB_TAR_FILE) $(SHA256_FILE) $(DETACHED_SIG_FILE) releases
|
||||||
|
ifeq ($(REALLY_UPLOAD),yes)
|
||||||
|
git push origin $(UPSTREAM_TAG) release pristine-tar
|
||||||
|
cd releases && scp $(TAR_FILE) $(SHA256_FILE) $(DETACHED_SIG_FILE) $(RELEASE_HOST):$(RELEASE_DIR)
|
||||||
|
endif
|
||||||
|
|
||||||
.PHONY: debian-snapshot
|
.PHONY: debian-snapshot
|
||||||
debian-snapshot:
|
debian-snapshot:
|
||||||
|
|
Loading…
Reference in a new issue