[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: build: Update and add new comments for the release target.
From: |
guix-commits |
Subject: |
03/09: build: Update and add new comments for the release target. |
Date: |
Fri, 30 Apr 2021 08:25:06 -0400 (EDT) |
apteryx pushed a commit to branch version-1.3.0
in repository guix.
commit 54dc9d36fa4188b92f4dd8bc38897bf736b76e11
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Apr 25 08:28:53 2021 -0400
build: Update and add new comments for the release target.
* Makefile.am (release): Update and add new comments.
---
Makefile.am | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 216f5b9..834aedb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -826,13 +826,13 @@ system_flags = $(foreach system,$(1),-s $(system))
# The release process works in several phases:
#
-# 0. We assume the developer created a 'vX.Y' tag.
+# 0. We assume the developer created a 'vX.Y.Z' tag.
# 1. Build the source tarball.
-# 2. Update the 'guix' package so that it corresponds to the 'vX.Y' tag.
+# 2. Update the 'guix' package so that it corresponds to the 'vX.Y.Z' tag.
# 3. Build the binary tarballs for that 'guix' package.
# 4. Update the 'guix' package again.
-# 5. Build the installation images. The images will run 'guix'
-# corresponding to 'vX.Y' + 1 commit, and they will install 'vX.Y'.
+# 5. Build the installation and VM images. The images will run 'guix'
+# corresponding to 'vX.Y.Z' + 1 commit, and they will install 'vX.Y.Z'.
#
# This 'release' target takes care of everything and copies the resulting
# files to $(releasedir).
@@ -848,6 +848,7 @@ release: dist-with-updated-version
$(MKDIR_P) "$(releasedir)"
rm -f "$(releasedir)"/*
mv $(SOURCE_TARBALLS) "$(releasedir)"
+# Bump the Guix package version and build it.
GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT=yes \
$(top_builddir)/pre-inst-env "$(GUILE)" \
$(top_srcdir)/build-aux/update-guix-package.scm \
@@ -857,12 +858,14 @@ release: dist-with-updated-version
$(top_builddir)/pre-inst-env guix build guix \
$(call system_flags,$(SUPPORTED_SYSTEMS)) \
-v1 --no-grafts --fallback
+# Generate the binary release tarballs.
rm -f $(BINARY_TARBALLS)
$(MAKE) $(BINARY_TARBALLS)
for system in $(SUPPORTED_SYSTEMS) ; do
\
mv "guix-binary.$$system.tar.xz"
\
"$(releasedir)/guix-binary-$(PACKAGE_VERSION).$$system.tar.xz" ;
\
done
+# Bump the Guix package version and build it (again).
GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT=yes \
$(top_builddir)/pre-inst-env "$(GUILE)" \
$(top_srcdir)/build-aux/update-guix-package.scm \
@@ -872,6 +875,7 @@ release: dist-with-updated-version
$(top_builddir)/pre-inst-env guix build guix \
$(call system_flags,$(GUIX_SYSTEM_SUPPORTED_SYSTEMS)) \
-v1 --no-grafts --fallback
+# Generate the ISO installation images.
for system in $(GUIX_SYSTEM_SUPPORTED_SYSTEMS) ; do
\
image=`$(top_builddir)/pre-inst-env
\
guix system image -t iso9660
\
@@ -886,6 +890,7 @@ release: dist-with-updated-version
mv "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.xz.tmp"
\
"$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.xz" ;
\
done
+# Generate the VM images.
for system in $(GUIX_SYSTEM_VM_SYSTEMS) ; do
\
image=`$(top_builddir)/pre-inst-env
\
guix system image -t qcow2 $(GUIX_SYSTEM_VM_IMAGE_FLAGS)
\
- branch version-1.3.0 updated (68110f7 -> 9bf205e), guix-commits, 2021/04/30
- 02/09: Makefile.am: Remove the GUIX_FOR_BINARY_TARBALL variable., guix-commits, 2021/04/30
- 05/09: build: Have the release target depend on 'all'., guix-commits, 2021/04/30
- 08/09: gnu: guix: Update to 1.3.0rc1., guix-commits, 2021/04/30
- 06/09: build: Build the guix.pot-update and contributing.pot-update targets only once., guix-commits, 2021/04/30
- 01/09: guix-install.sh: Ensure GUIX_BINARY_FILE_NAME is an absolute path., guix-commits, 2021/04/30
- 03/09: build: Update and add new comments for the release target.,
guix-commits <=
- 09/09: gnu: guix: Update to 6fd7f16., guix-commits, 2021/04/30
- 04/09: build: Add the qcow2 file extension to the VM image., guix-commits, 2021/04/30
- 07/09: build: Make doc-po-update and doc-pot-update targets idempotent., guix-commits, 2021/04/30