From de2e77ae21a79f4b9ca4f1adb2c8026dad6ca18e Mon Sep 17 00:00:00 2001 From: Stuart Harris Date: Mon, 16 Sep 2024 11:26:21 +0100 Subject: [PATCH] scripts to get versions and tag --- scripts/tag.fish | 9 +++++++++ scripts/versions.fish | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100755 scripts/tag.fish create mode 100755 scripts/versions.fish diff --git a/scripts/tag.fish b/scripts/tag.fish new file mode 100755 index 000000000..55b2c80e9 --- /dev/null +++ b/scripts/tag.fish @@ -0,0 +1,9 @@ +#!/usr/bin/env fish + +git checkout master + +for dir in crux_macros crux_core crux_http crux_kv crux_platform crux_time + pushd $dir + git tag {$dir}-v(cargo pkgid | cut -d "#" -f2) + popd +end diff --git a/scripts/versions.fish b/scripts/versions.fish new file mode 100755 index 000000000..ba2bf8062 --- /dev/null +++ b/scripts/versions.fish @@ -0,0 +1,7 @@ +#!/usr/bin/env fish + +for dir in crux_macros crux_core crux_http crux_kv crux_platform crux_time + pushd $dir + echo {$dir}-v(cargo pkgid | cut -d "#" -f2) + popd +end