summaryrefslogtreecommitdiff
path: root/scripts/package-build/amazon-cloudwatch-agent/package.toml
blob: 833096d42cc28898de6fdd53ec4c74eb6258e79b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[[packages]]
name = "amazon-cloudwatch-agent"
commit_id = "v1.300050.0"
scm_url = "https://github.com/aws/amazon-cloudwatch-agent"

build_cmd = """

make prepackage package-deb
ARCH=$(dpkg --print-architecture)
TAG=$(git describe --tags --abbrev=0)
COMMIT=$(git rev-parse --short HEAD)
cp ./build/bin/linux/${ARCH}/*.deb ../amazon-cloudwatch-agent_${TAG}_${COMMIT}_${ARCH}.deb

"""