Neurodesktop Release Process
Neurodesktop:
- Check if the last automated build ran OK: https://github.com/NeuroDesk/neurodesktop/actions
- Run this build date and test if everything is ok and no regression happened
- Check what changes where made since the last release: https://github.com/NeuroDesk/neurodesktop/commits/main
- Summarize the main changes and copy this to the Release History: https://www.neurodesk.org/docs/overview/release-history/
- Change the version of the latest desktop in https://github.com/NeuroDesk/neurodesk.github.io/blob/main/data/neurodesktop.toml
- Commit all changes
- Tweet a quick summary of the changes and announce new version: https://masto.ai/@Neurodesk
Neurodesk App:
Release process
Follow these steps to create a new release of the Neurodesk App.
If there’s new version of Neurodesktop image, Github Action will PR with updated jupyter_neurodesk_version in neurodesktop.toml file. Double-check and merge this PR.
Create a new release on GitHub as
pre-release
. Set the releasetag
to the value of target application version and prefix it withv
(for examplev1.0.0
for Neurodesk App version1.0.0
). Enter release title and release notes. Release needs to stay aspre-release
for GitHub Actions to be able to attach installers to the release.Make sure that application is building, installing and running properly.
In the main branch, create a branch preferably with the name
release-v<new-version>
. Add a commit with the version changes in package.json file. This is necessary for GitHub Actions to be able to attach installers to the release. (for example"version": "1.0.0"
).GitHub Actions will automatically create installers for each platform (Linux, macOS, Windows) and upload them as release assets. Assets will be uploaded only if a release of type
pre-release
with tag matching the Neurodesk App’s version with av
prefix is found. For example, if the Neurodesk App version in the PR is1.0.0
, the installers will be uploaded to a release that is flagged aspre-release
and has a tagv1.0.0
. New commits to this branch will overwrite the installer assets of the release.Once all the changes are complete, and installers are uploaded to the release then publish the release.
Update MacOS certificate
Follow these step-by-step instructions to generate and export the required Macos certificate for Neurodesk App release.
- Launch the “Keychain Access” application on your Mac, go to “Certificate Assistant.”
- Request Certificate from Certificate Authority: Within “Certificate Assistant,” select “Request a Certificate from a Certificate Authority.”
- Follow the URL to access the Apple Developer website: https://developer.apple.com/account/resources/certificates/add, upload the generated certificate.
- After uploading the certificate, download the resulting file provided by the Apple Developer website.
- Import the Certificate in Keychain.
- Right-click the imported certificate in “Keychain Access.”, choose “Export” and save it in .p12 format.
- Convert the .p12 file to Base64 using the following command:
openssl base64 -in neurodesk_certificate.p12