How can i rebuild discourse without changing version?

It could also be that I am using an old version, so it may or may not work in the latest version. I just wanted to update with my findings.