Moving "The Swift Programming Language" book to open source

How can i have multiple swift versions installed and defined for specific projects relatively ?

As when i am building the repo, i got this error as "'swift-book': error: package 'swift-book' is using Swift tools version 5.7.0 but the installed version is 5.6.0"