2023-04-17 04:59:34 +00:00
|
|
|
# Packaging README
|
|
|
|
|
|
2023-12-15 13:20:51 +00:00
|
|
|
1. Delete the old tarball and vendor tarball
|
|
|
|
|
2. Adjust new package version in `_service`
|
|
|
|
|
3. Run `osc service manualrun`
|
|
|
|
|
4. Check the version numbers in all `kustomization.yaml` files in
|
2024-02-06 08:57:31 +00:00
|
|
|
`./flux2/manifests/bases/*` by using the following command:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
grep github.com flux2/manifests/bases/*/kustomization.yaml
|
|
|
|
|
```
|
|
|
|
|
|
2023-12-15 13:20:51 +00:00
|
|
|
5. Run `download_yaml.sh` (this downloads the correct versions of all the
|
2023-04-17 04:59:34 +00:00
|
|
|
controller yaml files to the current directory)
|
2023-12-15 13:20:51 +00:00
|
|
|
6. Adjust the version numbers in the spec file. The code in the spec copies the
|
2023-04-17 04:59:34 +00:00
|
|
|
downloaded YAML files to the correct place and modifies the
|
|
|
|
|
`kustomization.yaml` files to no longer point to Github (no downloads
|
|
|
|
|
possible inside OBS builds...)
|
2023-12-15 13:20:51 +00:00
|
|
|
7. Update the changelog and commit the changes
|