Once FeatureMap has been integrated into an application, the knowledge of which files are assigned to a given feature may be used during the publication of a release (or upon the merge to a main branch). The specific implementation depends largely on the structure of a given application, but broadly you may consider the following steps:
- Inspect the files that have been modified as part of a given release
- Use FeatureMap’s
for_file
public interface to retrieve feature assignment data for each of those files - Collect and group changes to each associated feature
- This process can be aided by the
group_commits
andgenerate_release_notification
methods exposed by FeatureMap
- This process can be aided by the
- Publish the change to a shared space, like Slack