Skip to content

Commit

Permalink
fix: podman linux path rename (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewDolan authored Feb 8, 2023
1 parent 6e97e6a commit b25f895
Showing 1 changed file with 39 additions and 13 deletions.
52 changes: 39 additions & 13 deletions podman.hcl
Original file line number Diff line number Diff line change
@@ -1,39 +1,65 @@
description = "A tool for managing OCI containers and pods."

sha256-source = "https://github.com/containers/podman/releases/download/v${version}/shasums"

platform "darwin" {
source = "https://github.com/containers/podman/releases/download/v${version}/podman-remote-release-darwin_${arch}.zip"
strip = 1
binaries = ["usr/bin/podman"]
}

platform "linux" {
binaries = ["podman"]
source = "https://github.com/containers/podman/releases/download/v${version}/podman-remote-static.tar.gz"

on "unpack" {
rename {
from = "${root}/podman-remote-static"
to = "${root}/podman"
}
}
}

version "3.3.1" "3.4.0" "3.4.1" "3.4.2" "3.4.4" {
binaries = ["podman"]

platform "darwin" {
source = "https://github.com/containers/podman/releases/download/v${version}/podman-remote-release-darwin.zip"
strip = 1
}

platform "linux" {
binaries = ["podman"]
source = "https://github.com/containers/podman/releases/download/v${version}/podman-remote-static.tar.gz"

on "unpack" {
rename {
from = "${root}/podman-remote-static"
to = "${root}/podman"
}
}
}
}

version "4.0.2" "4.0.3" "4.1.0" "4.1.1" "4.2.0" "4.2.1" "4.3.0" "4.3.1" {
platform "linux" {
binaries = ["podman"]
source = "https://github.com/containers/podman/releases/download/v${version}/podman-remote-static.tar.gz"

on "unpack" {
rename {
from = "${root}/podman-remote-static"
to = "${root}/podman"
}
}
}
}

version "4.4.0" {
auto-version {
github-release = "containers/podman"
ignore-invalid-versions = true
version-pattern = "^v([4-9]\\.[0-9]+\\.[0-9]+)$"
}

platform "linux" {
binaries = ["podman"]
source = "https://github.com/containers/podman/releases/download/v${version}/podman-remote-static-linux_${arch}.tar.gz"

on "unpack" {
rename {
from = "${root}/podman-remote-static-linux_${arch}"
to = "${root}/podman"
}
}
}
}

sha256sums = {
Expand Down

0 comments on commit b25f895

Please sign in to comment.