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

build_cmd = """

make clean check_secrets amazon-cloudwatch-agent-linux 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

"""