podman/hack
Chris Evich 34043bd81d
Fix Error, empty output for info: 'VERSION'
When building releases, the definitive canonical version of podman (or
podman-remote) is needed.  Previously this was accomplished by scraping
`version/version.go`.  However, due to tooling differences across
platforms, this has proven problematic, unreliable, and hard to
maintain.

Fix this by building and caching a small golang binary who's only purpose
is to print the version number to stdout.  This not only provides a quick
and reliable way to determine the current version, it also acts as a check
on the version API vs tooling that relies on it.

Lastly, remove several `RELEASE_*` Makefile definitions which aren't
actually used anywhere.  These were originally added a very long time
ago to serve as part of a long since retired release process.  The
remaining items, were updated to make use of the new `.podmanversion`
binary on an as-required basis (i.e. not every time `make` is run).

Signed-off-by: Chris Evich <cevich@redhat.com>
2021-09-21 12:29:26 -04:00
..
podman-registry-go bump go module to v3 2021-02-22 09:03:51 +01:00
apparmor_tag.sh Use bash binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
bats [CI:DOCS] hack/bats - new helper for running system tests 2021-05-11 16:31:56 -06:00
branch_commits.rb Add script for identifying commits in release branches 2021-05-17 16:40:35 -04:00
btrfs_installed_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
btrfs_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
check_root.sh Use bash binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
get_ci_vm.sh Cirrus: Make use of shared get_ci_vm container 2021-04-05 15:38:04 -04:00
golangci-lint.sh [NO TESTS NEEDED] Update linter 2021-02-10 13:25:40 +01:00
install_bats.sh Install bats as root 2020-09-18 12:50:25 -05:00
install_catatonit.sh Use bash binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
install_golangci.sh hack/install_golangci.sh: smarter install 2021-01-17 17:15:23 +01:00
libdm_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
libsubid_tag.sh Add support for libsubid 2021-08-27 08:13:01 -04:00
man-page-checker Switch use of Flags to Options 2020-10-21 08:37:57 -04:00
podman-commands.sh Add shell completion with cobra 2020-11-12 11:38:31 +01:00
podman-registry podman-registry: minor usability updates 2021-08-02 14:01:47 -06:00
podman-socat Document CONTAINERS_CONF/CONTAINERS_STORAGE_CONF Env variables 2021-03-10 06:34:47 -05:00
podmanv2-retry Use bash binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
release.sh Remove changelog.txt from the repository 2021-09-07 10:53:26 -04:00
selinux_tag.sh Use bash binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
swagger-check Fix swagger issue 2021-08-25 15:50:55 -05:00
systemd_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
tree_status.sh Use bash binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
xref-helpmsgs-manpages Fix up build the docs site 2021-09-16 17:41:00 -04:00