diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-03-12 18:08:38 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-03-12 18:08:38 -0400 |
| commit | 02bf1874ef7a5d474dbf421cde3eda81e05807d5 (patch) | |
| tree | 4dd9e45ba8349f1b56fa41829d73375a95cda7f2 /tools/version | |
| parent | 8f19e3fcb83dd7c7f61f82378a9904697361a87c (diff) | |
Set up a Debian-based builder, to make it easier to distribute this to AMIs.
Diffstat (limited to 'tools/version')
| -rwxr-xr-x | tools/version | 11 |
1 files changed, 11 insertions, 0 deletions
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' |
