-
-
Notifications
You must be signed in to change notification settings - Fork 365
Closed
Description
Before release:
- Force fetch origin remote tag with
git fetch origin --tags --force - Write and format release notes from the pull requests since last release, including contributors and packagers
- Create a new NPM token and replace the existing
NPM_TOKENin https://github.com/f3d-app/f3d-superbuild/settings/secrets/actions
Release Split :
- Create, review and merge a MR from
masterbranch intorelease: release...master
Release Candidates :
- Commit, review and merge a
v3.4.0-RC2version change in https://github.com/f3d-app/f3dCMakeLists.txt,pyproject.tomlandpackage.jsonin thereleasebranch - Tag and push to https://github.com/f3d-app/f3d:
git tag v3.4.0-RC2 -m v3.4.0-RC2 - Trigger a release build using https://github.com/f3d-app/f3d-superbuild actions with
v3.4.0-RC2F3D version, superbuildmainbranch and prerelease publishtrue - Download the prerelease from https://github.com/f3d-app/f3d/releases
- Locally test the prerelease on Linux
- Locally test the prerelease on macOS (Intel)
- Locally test the prerelease on macOS (Silicon)
- Locally test the prerelease on Windows
- Locally test the python wheels on Linux
- Locally test the python wheels on macOS (Silicon)
- Locally test the python wheels on Windows
- Locally test the wasm package
- If it fails,
- Fix the issues in
releasebranch, - Edit this issue and increment
N - Merge F3D release into master: master...release
- Fix the issues in
- Else proceed to the next part
Release :
- Commit, review and merge
v3.4.0version change in https://github.com/f3d-app/f3dCMakeLists.txt,pyproject.tomlandpackage.jsonin thereleasebranch - Tag
v3.4.0and push it to https://github.com/f3d-app/f3d:git tag v3.4.0 -m v3.4.0 - Commit, review and merge adding
3.4.0in https://github.com/f3d-app/f3d-superbuildversions.cmakein themainbranch - Tag
v3.4.0and push it to https://github.com/f3d-app/f3d-superbuild:git tag v3.4.0 -m v3.4.0 - Merge F3D release into master: master...release
- Trigger a release build using https://github.com/f3d-app/f3d-superbuild actions with
v3.4.0F3D version,v3.4.0sb version and prerelease publish true - Finalize release note and add them to the release
- Format the release note into a changelog and commit/review/merge them into https://github.com/f3d-app/f3d
- Update dev and nightly docs as described here, commit/review/merge into https://github.com/f3d-app/f3d-website
- Add a new versioned doc as described here, commit/review/merge into https://github.com/f3d-app/f3d-website
- Commit review and merge a bump of F3D version in
package.jsonin https://github.com/f3d-app/f3d-website - Update download links using
GITHUB_TOKEN=$PAT npm run update-downloads, commit/review/merge into https://github.com/f3d-app/f3d-website and then immediately - Release
- Communicate on discord
- Communicate on reddit
- Communicate on hackernews
- Communicate on linkedin
- Communicate on mastodon
- Communicate on bluesky
- Move all issue from current milestone to next milestone, close current roadmap issue and open a next roadmap issue
- Update
dev/ROADMAPS_AND_RELEASES.mdfor next release in https://github.com/f3d-app/f3d-website - Create an issue for updating dependencies in CI and superbuild
- Update
.github/ISSUE_TEMPLATE/new_release.mdin https://github.com/f3d-app/f3d if needed
Linux testing protocol:
- Install F3D-3.4.0-RC2-Linux-x86_64-raytracing system wide
f3d testing/data/cow.vtp-> check render, orientation, press R and check raytracingf3d testing/data/f3d.stp-> check render, orientationf3d testing/data/f3d.glb-> press "Space", check animation is going smoothly and takes 4 secondsf3d /path/to/any/new/file.format-> check renderrm -rf ~/.cache/thumbnailspcmanfm(or another supported file manager)- Check that all supported files in testing/data have a generated thumbnails, especially for new file formats if any
- Double click on supported file in testing/data, especially for new file formats if any and check it opens in F3D
- Drag&Drop cow.vtp, Drag&Drop palermo_park.hdr, check render
- Check that CTRL+O (file dialog) is working
- Press "Esc" and check the following commands
reload_current_file_group,set_camera top,toggle_volume_rendering,exit cd examples/libf3d && mkdir build && cd build && cmake ../ && make./cpp/check-engine/check-engine./cpp/render-interact/render-interact ../../../testing/data/cow.vtp
macOS testing protocol:
- Install F3D-3.4.0-RC2-macOS-x86_64-raytracing.dmg
- Double click on cow.vtp, check render and orientation, press R and check raytracing
- Double click on f3d.stp, check render and orientation
- Double click on f3d.glb, press "Space", check animation is going smoothly and takes 4 seconds
- Double click on any new supported file.format, check render
- Check all supported file in testing/data directory in finder have the f3d mark, if not, check that "open with" suggest F3D
- Drag&Drop cow.vtp, Drag&Drop palermo_park.hdr, check render
- Check that CTRL+O (file dialog) is working
- Press "Esc" and check the following commands
reload_current_file_group,set_camera top,toggle_volume_rendering,exit
Windows testing protocol:
- Install F3D-3.4.0-RC2-Windows-x86_64-raytracing.exe, add F3D to path for all users
- Start -> Disk Cleanup -> select thumbnails -> Ok -> Delete Files
- Open testing/data directory in file manager
- Wait for thumbnails to be generated
- Check that every supported file has a generated thumbnails, except .tif.
- Check that every supported file has a small "f3d" mark, for those that don't check that "Open with" -> "Use another app" suggest F3D.
- Double click on cow.vtp, check render and orientation, press R and check raytracing
- Double click on f3d.stp, check render and orientation
- Double click on f3d.glb, press "Space", check animation is going smoothly and takes 4 seconds
- Double click on any new supported file format, check render
- Check that CTRL+O (file dialog) is working
- run
f3d-console --versionin a Windows command line and check it output the version - Press "Esc" and check the following commands
reload_current_file_group,set_camera top,toggle_volume_rendering,exit cd examples\libf3d && mkdir build && cd build && cmake ../ && cmake --build . --config Release.\cpp\check-engine\Release\check-engine.\cpp\render-interact\Release\render-interact ..\..\..\testing\data\cow.vtp
Python testing protocol:
- Use a venv or make sure f3d is not installed in your python environment
- pip install f3d==3.4.0-RC2
- python
import f3d
eng = f3d.Engine.create()
eng.scene.add("/path/to/cow.vtp")
eng.window.render() # No effect on Windows
eng.interactor.start()
- Check the following
- The name of the window is
f3dat all time - Python provides suggestions whenever the "Tab" key is pressed
- The name of the window is
Webassembly testing protocol:
- Clone https://github.com/f3d-app/f3d-website
- Replace the current
f3dversion by the last RC available and run the website locally to check the web viewer - Make sure to check for broken anchor in the npm output
npm uninstall f3d
npm install f3d --tag next
npm run startOnce a release cycle:
- Check that completions are still working with
fishandzshwhen tab is pressed - Check that F3D is added for extensions on a fresh Windows installation