--version information does not match package version
Task Info (Flyspray) | |
---|---|
Opened By | Josh (joshaw) |
Task ID | 79753 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | All |
Opened | 2023-09-22 11:23:30 UTC |
Status | Assigned |
Assignee | Christian Rebischke (Shibumi) |
Assignee | Levente Polyak (anthraxx) |
Details
Description:
The method for setting the version string when building terragrunt appears to have recently changed, ref: https://github.com/gruntwork-io/terragrunt/commit/73d2c831bdae08aee7bc5df1d04165e0c7d5554e#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
This means the version is not currently reported correctly:
$ terragrunt --version terragrunt version latest
$ pacman -Qi terragrunt Name : terragrunt Version : 0.50.14-1
The --version information being wrong isn't too much of a problem, but this also breaks the terraform_version_constraint
(https://terragrunt.gruntwork.io/docs/reference/config-blocks-and-attributes/#terragrunt_version_constraint) feature as that compares the current version to a string, and the current version is incorrect.
Additional info:
- package version(s): 0.50.14-1
- config and/or log files etc.
- link to upstream bug report, if any
Steps to reproduce: