From 8af1286c57936b9d4ec3e8bac336cd058a00e36b Mon Sep 17 00:00:00 2001 From: project-repo Date: Thu, 13 Apr 2023 19:52:13 +0200 Subject: [PATCH] Add git-tag script --- scripts/git-tag | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/git-tag diff --git a/scripts/git-tag b/scripts/git-tag new file mode 100755 index 0000000..bd8e541 --- /dev/null +++ b/scripts/git-tag @@ -0,0 +1,8 @@ +#!/bin/bash +# Copyright 2023, project-repo and the cagebreak contributors +# SPDX-License-Identifier: MIT + +readonly gpg_id="${1}" +readonly version="${2}" + +git tag -u "${gpg_id}" "${version}" HEAD