Hi,
Unfortuately, we cannot answer this question, merely provide guidance, to allow you to determine whether capital gains tax is due or not.
There is no capital gains tax liability arising from the transfer of assets between spouses and civil partners, however, when separation or divorce is involed, that may not be the case.
Please have a look at:
HS281 Capital Gains Tax civil partners and spouses (2023)
and apply it to the your circumstances at the time of the transfer of the assets.