This script copies the master branch of a Versions project into another Versions project, including one in another organization.
- Libraries will be copied as regular files and will need to be turned back into libraries (see Abstract's Libraries article for instructions)
- Symbol references may need to be corrected (See Abstract's Managing Libraries article for instructions)
- Only the master branch will be copied but having open branches does not interfere
- The script uses bash to copy directories, it does not use the CLI or git
- Merge all branches with wanted changes to master
- Create a new project to paste into on the Desktop app
- Help > Enable Development Menu
- In the paste project, download the project via "..."/right click menu > Development > Force Sync Project
- Run the script
- Go through the Terminal prompts
- The prompts will require project IDs which can be copied via the project's "..."/right click menu > Development > Copy project ID
- Refresh the Desktop app CMD + R
- Commit the changes that appear on master (the commit can take a few seconds to appear)
- Confirm the sync went through and copied project appears on the Web app
- Help > Disable Development Menu
This script automates the movement of files in Abstract's directorys for the steps listed in How to duplicate an Abstract project from Medium