Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2026-11-12 Mats Lidell <matsl@gnu.org>

* Makefile (release): Semi automated target for creating a release.
(release-pre-check): Prompt user if relevant preparations have been
made.

2026-11-06 Mats Lidell <matsl@gnu.org>

* test/kotl-mode-tests.el (kotl-mode--insert-initial-tab-in-cell-row): New
Expand Down
32 changes: 31 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Bob Weiner
#
# Orig-Date: 15-Jun-94 at 03:42:38
# Last-Mod: 29-Oct-26 at 23:23:03 by Mats Lidell
# Last-Mod: 12-Nov-26 at 00:03:19 by Mats Lidell
#
# Copyright (C) 1994-2026 Free Software Foundation, Inc.
# See the file HY-COPY for license information.
Expand Down Expand Up @@ -564,6 +564,36 @@ git-tag-release: sync-repos
git push github_origin hyperbole-$(HYPB_VERSION)
@echo "Hyperbole $(HYPB_VERSION) is tagged as hyperbole-$(HYPB_VERSION)."

define RELEASE_PRE_CHECK
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! Have you remembered to do all of this ??? !!!
!!! !!!
!!! M-x hypb-release-update-version !!!
!!! make doc !!!
!!! make version !!!
!!! make pkg => !!! Eyeball that it looks right !!! !!!
!!! -- Done all other preparations you kan think of that is left !!!
!!! relevant for this release? !!!
!!! !!!
!!! (AND FINALLY, MOST IMPORTANT) !!!
!!! Committed, pushed and merged all above updates to github_master ??? !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
endef
export RELEASE_PRE_CHECK

.PHONY: release-pre-check
release-pre-check:
@printf '%s\n' "$$RELEASE_PRE_CHECK"
$(call confirm,All preparations done?,YES)

.PHONY: release
release:
$(MAKE) release-pre-check
$(MAKE) release-pre
$(call confirm,...Wait for PR to be built and approved. Ready?,YES)
gh pr merge --squash
$(MAKE) release-post

.PHONY: sync-repos
sync-repos:
git fetch github_origin
Expand Down
Loading