diff --git a/README.md b/README.md index 231a52f..42e9aef 100644 --- a/README.md +++ b/README.md @@ -65,3 +65,23 @@ git commit git tag .1 git push origin .1 ``` + +## Remove Garden Linux packages from the repo + +If, for whatever reason, we need to switch back to debian mirrored packages, a null release (with no content/assets) should be created. + +> [!IMPORTANT] +> DO NOT RENAME PACKAGE REPOS + +This is going to break future patch releases, if needed. Also, you should disable github actions for that repo, in order to prevent version updates from overwriting the null release. + +Create an empty branch, a null tag, push everything and then create a release. + +``` +git checkout --orphan nullbranch +git reset +git commit --allow-empty -m "null" +git push origin nullbranch +git tag null +git push origin null +```