From 323d5a4961dd18c1c9427e26f9c87bd7e1c1d028 Mon Sep 17 00:00:00 2001 From: Bradley G Smith Date: Feb 02 2024 20:44:18 +0000 Subject: Document Revised Workflow Initial documentation of the revised workflow for Kubernetes packages involving the newrelease.sh script, configuration file, and template. --- diff --git a/README.md b/README.md index 954bc8d..3566f42 100644 --- a/README.md +++ b/README.md @@ -26,3 +26,38 @@ Kubernetes 1.28 is available at https://copr.fedorainfracloud.org/coprs/buckaroo Kubernetes 1.27 is available in COPR at: https://copr.fedorainfracloud.org/coprs/buckaroogeek/copr-k8s-1.27/. +## Kubernetes Package Workflow + +1 Feb 2024. The workflow to revise the spec file now uses the newrelease.sh script. This script uses a configuration file (```newrelease.conf```) and a template file for the target spec file to generate a revised spec file for use in the standard Fedora build processes. + +### Generate a new configuration file, if needed + +1. Run + +``` +# newrelease.sh +``` + +### Upstream has a new minor or patch release + +1. Edit the newrelease.conf file with the revised patch number. + +2. Run + +``` +newrelease.sh -y +``` + +3. Follow normal Fedora build and release process. + +### Other modifications to the spec file to fix errors or add features + +1. Edit the template (by default ```./template/kubernetes-template.spec``` + +2. Run, if appropriate, + +``` +newrelease.sh -y +``` + +3. Follow normal Fedora build and release process.