crypto swapping

i bought a type of crypto and swapped it with another after i made gains on it, i do not plan to sell the one i swapped into is this a taxable event?