This is needed to successfully build alpha-x (x > 1) and beta-1 releases with the automated release process from ansible-build-data. That process always sets antsibull_data_reset=false, which prevents reset of the .build file when it already exists.
This will cause problems for pre-releases following feature freeze, since antsibull assumes that the build file has been regenerated for the feature freeze release.
Having a new option which specifically controls regeneration of the .build file allows to fix the automated release process.
This is needed to successfully build alpha-x (x > 1) and beta-1 releases with the automated release process from ansible-build-data. That process always sets
antsibull_data_reset=false
, which prevents reset of the.build
file when it already exists.This will cause problems for pre-releases following feature freeze, since antsibull assumes that the build file has been regenerated for the feature freeze release.
Having a new option which specifically controls regeneration of the
.build
file allows to fix the automated release process.