- Navigate to https://github.com/mattkae/miracle-wm/releases
- Draft a new release
- Name the tag
v.X.Y.Z
- Title the release
v.X.Y.Z
- Target a branch, most likely
develop
- Describe the release (You may generate release notes, but please make sure that they make sense before doing so)
- Check out the commit that you just released in Step 1
- Bump the version number in
snap/snapcraft.yaml
to theX.Y.Z
- Commit this buumped version
- Next (this part is silly), comment out the
override-pull
of themiracle-wm
part - Run
snapcraft
- Finally, run
snapcraft upload --release=stable ./miracle-wm_*.snap
TODO: Implement #59 to fix the weirdness of this process
- Clone the repo (make sure that the folder is called
miracle-wm
) - Update
debian/changelog
with:- Version
X.Y.Z-distro
(wheredistro
is "noble"") - The same content as you in the Github release
- A correct current timestamp
- Version
- Next:
cd miracle-wm
./tools/publish-ppa.sh <X.Y.Z> <DISTRO>
- Navigate to https://launchpad.net/~matthew-kosarek/+archive/ubuntu/miracle-wm
- Wait for the CI to finish, and the package should be ready
Note that you should rebuild for mantic
and noble
. Follow the instructions to make sure that it uploads.
Before following these steps, make sure that you've at least followed this tutorial.
- Open up
rpm/miracle-wm.spec
- Update the version to
X.Y.Z
- Updated
BuildRequires
orRequires
if need be - Add a new entry to the changelog with the same data that is in the Github release, your user name, and a correct timestamp
- Move to a directory above
miracle-wm
and run:tar --create --file miracle-wm-X.Y.Z.tar.gz miracle-wm
mv miracle-wm-X.Y.Z.tar.gz ~/rpmbuild/SOURCES
cp miracle-wm/specs/miracle-wm.spec ~/rpmbuild/SPECS/
rpmbuild -bb ~/rpmbuild/SPECS/miracle-wm.spec
- After the build, you should be able to install your rpm:
sudo dnf install ~/rpmbuild/RPMS/<ARCH_TRIPLET>/miracle-wm-X.Y.Z-<REVISION>.<HASH>.<ARCH_TRIPLET>.rpm