You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the idea
TLDR: Remove versions from directories and binaries in archives.
Can you please make artifact names in archives a little bit more generic, as 99.99% of software out there does it ?
It will make the deployment and update processes much easier, with fewer steps and lines in scripts.
Why is this helpful?
Current tarball structure:
tar tvf terragrunt-atlantis-config_1.17.4_linux_amd64.tar.gz
-rwxr-xr-x 0 0 0 45876125 Jan 30 01:58 terragrunt-atlantis-config_1.17.4_linux_amd64/terragrunt-atlantis-config_1.17.4_linux_amd64
-rw-r--r-- 0 0 0 17722 Jan 30 01:57 terragrunt-atlantis-config_1.17.4_linux_amd64/README.md
Better approach:
tar tvf terragrunt-atlantis-config_1.17.4_linux_amd64.tar.gz
-rwxr-xr-x 0 0 0 45876125 Jan 30 01:58 terragrunt-atlantis-config/terragrunt-atlantis-config
-rw-r--r-- 0 0 0 17722 Jan 30 01:57 terragrunt-atlantis-config/README.md
One of the ways to extract archive nowadays
export TAC_V=1.17.4
curl -sL https://github.com/transcend-io/terragrunt-atlantis-config/releases/download/v$TAC_V/terragrunt-atlantis-config_$TAC_V_linux_amd64.tar.gz -o /tmp/terragrunt-atlantis-config.tar.gz
mkdir -p /tmp/terragrunt-atlantis-config
cd /tmp/terragrunt-atlantis-config
tar xzf /tmp/terragrunt-atlantis-config.tar.gz --strip-components=1
mv terragrunt-atlantis-config_$TAC_V_linux_amd64 /usr/local/bin/terragrunt-atlantis-config
rm -rf /tmp/terragrunt-atlantis-config*# again, there are a dozen other methods to write this script# the main issue is that binary name has version_platform info in it
The text was updated successfully, but these errors were encountered:
Feature Request
Describe the idea
TLDR: Remove versions from directories and binaries in archives.
Can you please make artifact names in archives a little bit more generic, as 99.99% of software out there does it ?
It will make the deployment and update processes much easier, with fewer steps and lines in scripts.
Why is this helpful?
Current tarball structure:
Better approach:
One of the ways to extract archive nowadays
The text was updated successfully, but these errors were encountered: