mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
Update Releasing-Fleet.md (#17233)
Swap steps 1 and 3 --------- Co-authored-by: Luke Heath <luke@fleetdm.com>
This commit is contained in:
parent
2e67ef61d4
commit
2be6a32295
1 changed files with 6 additions and 4 deletions
|
|
@ -15,6 +15,8 @@ Note: Please prefix versions with `fleet-v` (e.g., `fleet-v4.0.0`) in git tags,
|
|||
- Terraform variables ([AWS](https://github.com/fleetdm/fleet/blob/main/infrastructure/dogfood/terraform/aws/variables.tf)/[GCP](https://github.com/fleetdm/fleet/blob/main/infrastructure/dogfood/terraform/gcp/variables.tf))
|
||||
- [Kubernetes `fleet-deployment.yml` file](https://github.com/fleetdm/fleet/blob/main/docs/Deploy/kubernetes/fleet-deployment.yml)
|
||||
- All Terraform (*.tf) files referencing the previous version of Fleet.
|
||||
- The full list can be found by using git grep:
|
||||
% git grep "4\.3\.0"
|
||||
|
||||
Commit these changes via Pull Request and pull the changes on the `main` branch locally.
|
||||
|
||||
|
|
@ -57,21 +59,21 @@ When the Actions Workflow has been completed, [publish the new version of Fleet]
|
|||
|
||||
We issue scheduled patch releases every Monday between minor releases if any bug fixes have merged. We issue patches immediately for critical bugs as defined in [our handbook](https://fleetdm.com/handbook/quality#critical-bugs).
|
||||
|
||||
1. Complete the steps above to [prepare a new version of Fleet](#prepare-a-new-version-of-fleet).
|
||||
|
||||
2. Create a new branch, starting from the git tag of the prior release. Patch branches should be prefixed with `patch-`. In this example we are creating `v4.3.1`:
|
||||
1. Create a new branch, starting from the git tag of the prior release. Patch branches should be prefixed with `patch-`. In this example we are creating `v4.3.1`:
|
||||
|
||||
```sh
|
||||
git checkout fleet-v4.3.0
|
||||
git checkout --branch patch-fleet-v4.3.1
|
||||
```
|
||||
|
||||
3. Cherry picks the necessary commits from `main` into the new branch:
|
||||
2. Cherry picks the necessary commits from `main` into the new branch:
|
||||
|
||||
```sh
|
||||
git cherry-pick d34db33f
|
||||
```
|
||||
|
||||
3. Complete the steps above to [prepare a new version of Fleet](#prepare-a-new-version-of-fleet).
|
||||
|
||||
> Commits must be cherry-picked in the order they appear on `main` to avoid conflicts. Make sure to also cherry-pick the commit containing changelog and version number updates.
|
||||
|
||||
4. **Important!** Any migrations that are not cherry-picked in a patch must have a _later_ timestamp than migrations that were cherry-picked. If there are new migrations that were not cherry-picked, verify that those migrations have later timestamps. If they do not, submit a new Pull Request to increase the timestamps and ensure that migrations are run in the appropriate order.
|
||||
|
|
|
|||
Loading…
Reference in a new issue