more cleanups for the release process
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
7acf0412db
commit
295a8a404d
2 changed files with 18 additions and 9 deletions
17
Makefile
17
Makefile
|
@ -36,7 +36,7 @@ WEBPAGE=$(WEBBASE).mdwn
|
||||||
CHANGELOG_VERSION=$(shell $(helper) changelog-version)
|
CHANGELOG_VERSION=$(shell $(helper) changelog-version)
|
||||||
CHANGELOG_FILE=docs/changelog
|
CHANGELOG_FILE=docs/changelog
|
||||||
|
|
||||||
VERSION_FILE=cdist/version.py
|
PYTHON_VERSION=cdist/version.py
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Manpages
|
# Manpages
|
||||||
|
@ -154,7 +154,7 @@ web-release-all: man-fix-link
|
||||||
ML_FILE=.lock-ml
|
ML_FILE=.lock-ml
|
||||||
|
|
||||||
# Only send mail once - lock until new changelog things happened
|
# Only send mail once - lock until new changelog things happened
|
||||||
$(ML_FILE): $(CHANGELOG_FILE) git-release web-release
|
$(ML_FILE): $(CHANGELOG_FILE)
|
||||||
$(helper) ml-release $(CHANGELOG_VERSION)
|
$(helper) ml-release $(CHANGELOG_VERSION)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
@ -175,11 +175,7 @@ freecode-release: $(FREECODE_FILE)
|
||||||
################################################################################
|
################################################################################
|
||||||
# pypi
|
# pypi
|
||||||
#
|
#
|
||||||
PYPI_FILE=.lock-pypi
|
pypi-release: man $(PYTHON_VERSION)
|
||||||
|
|
||||||
pypi-release: $(PYPI_FILE)
|
|
||||||
|
|
||||||
$(PYPI_FILE): man $(VERSION_FILE)
|
|
||||||
python3 setup.py sdist upload
|
python3 setup.py sdist upload
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
@ -192,10 +188,10 @@ ARCHLINUXTAR=cdist-$(CHANGELOG_VERSION)-1.src.tar.gz
|
||||||
$(ARCHLINUXTAR): PKGBUILD
|
$(ARCHLINUXTAR): PKGBUILD
|
||||||
makepkg -c --source
|
makepkg -c --source
|
||||||
|
|
||||||
PKGBUILD: PKGBUILD.in $(VERSION_FILE)
|
PKGBUILD: PKGBUILD.in $(PYTHON_VERSION)
|
||||||
./PKGBUILD.in $(CHANGELOG_VERSION)
|
./PKGBUILD.in $(CHANGELOG_VERSION)
|
||||||
|
|
||||||
$(ARCHLINUX_FILE): $(ARCHLINUXTAR) $(VERSION_FILE)
|
$(ARCHLINUX_FILE): $(ARCHLINUXTAR) $(PYTHON_VERSION)
|
||||||
burp -c system $(ARCHLINUXTAR)
|
burp -c system $(ARCHLINUXTAR)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
@ -205,6 +201,9 @@ archlinux-release: $(ARCHLINUX_FILE)
|
||||||
# Release
|
# Release
|
||||||
#
|
#
|
||||||
|
|
||||||
|
$(PYTHON_VERSION): .git/refs/heads/master
|
||||||
|
$(helper) version
|
||||||
|
|
||||||
# Code that is better handled in a shell script
|
# Code that is better handled in a shell script
|
||||||
check-%:
|
check-%:
|
||||||
$(helper) $@
|
$(helper) $@
|
||||||
|
|
|
@ -256,6 +256,16 @@ eof
|
||||||
|
|
||||||
# Announce change on ML
|
# Announce change on ML
|
||||||
make ml-release
|
make ml-release
|
||||||
|
|
||||||
|
cat << eof
|
||||||
|
Manual steps post release:
|
||||||
|
|
||||||
|
- linkedin
|
||||||
|
- hackernews
|
||||||
|
- twitter
|
||||||
|
|
||||||
|
eof
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
test)
|
test)
|
||||||
|
|
Loading…
Reference in a new issue