The upcoming #Mastodon version has so much nice UI things I can't wait to add them to #MastodonBirdUI.
@Gargron or others: Can you please share: How to properly set up a nightly version from Git main branch to production? The familiar steps from stable tags are not working on main. #MastoAdmin #BirdUI
@rolle What are the nice features? I am really stoked for the next release, but because of info from their roadmap, not actually the implemented changes
@BentiGorlich There are a lot changes from April. Not yet listed anywhere.
@rolle so you don't know eigher?
@rolle There are no git tags for the nightlies, they are just built from commits on main. If you're not using Docker you can just checkout main.
@Gargron Thanks for answering.
Noticed that and did try checking out main and building it as usual. But for some reason it has jsx files instead of js and after bundle install, yarn install and yarn build:production etc. it seems it's not all right. Some js modules like React missing and I don't understand why.
Is there a build process for main from source? I'm not using Docker.
It is important to manually remove the `packs` folder
So my update pipeline looks like
update 2023.07.11:
it is enough to use assets:clobber
https://gist.github.com/Mixaill/f3d4a736971782b49124c5701410cd09
yep, it is pretty safe, `assets:precompile` perform full restoration of this folder
`assets:clean` does not fully remove the `packs` folder and after execution the `assets:precompile` command rejects to compile anything.
So it will be broken until you remove the `public/packs` folder and run `assets:precompile` to restore it