From 02bf1874ef7a5d474dbf421cde3eda81e05807d5 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 12 Mar 2024 18:08:38 -0400 Subject: Set up a Debian-based builder, to make it easier to distribute this to AMIs. --- tools/version | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 tools/version (limited to 'tools/version') diff --git a/tools/version b/tools/version new file mode 100755 index 0000000..cc7e679 --- /dev/null +++ b/tools/version @@ -0,0 +1,11 @@ +#!/bin/bash -e + +## tools/version +## +## Print the current version of the project to stdout. Data comes from Cargo. + +cd "$(dirname "$0")/.." + +cargo metadata \ + --format-version 1 | +jq -r '.packages[] | select(.name == "aws-autoscaling-dns") | .version' -- cgit v1.2.3