ansible-community / antsibull-build

Tooling for building various things related to ansible
GNU General Public License v3.0
60 stars 31 forks source link

Add `antsibull_build_reset` role option #601

Closed felixfontein closed 5 months ago

felixfontein commented 5 months ago

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.

felixfontein commented 5 months ago

CI currently fails because of https://github.com/CiscoDevNet/intersight-ansible/issues/116.