New house construction

Hello,

 

We purchased land in 2020 and have used our own savings to build a house that we planned to live in.   We are nearly finished (estimated Jun 2022), but now will no longer be able to move to that location (we changed jobs and remote is no longer an option).   If we sell the house, is that income or capital gains?

 

Does it change if we live in it for some period of time e.g. June-September, and then sell it?