minamijoyo / tfmigrate

A Terraform / OpenTofu state migration tool for GitOps
MIT License
1.14k stars 57 forks source link

Skip ApplyWithForce test in pre-release #131

Closed minamijoyo closed 1 year ago

minamijoyo commented 1 year ago

A pre-release can only be compared between pre-releases due to the limitations of the hashicorp/go-version libraries and will not behave as expected. https://github.com/hashicorp/go-version/pull/35

On the other hand, the ApplyWithForce test is a legacy one that can only be tested before 1.1 and does not need to be tested on pre-releases 1.1+. So we can skip it if pre-release.