From d4f40a19fb0d1db6e51441e3f3cd8cb841279916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 20 Apr 2022 14:45:48 +0300 Subject: [PATCH] fix ci/release by adding a stub commit there --- ci/release | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/release b/ci/release index ae575ca..5149c64 100755 --- a/ci/release +++ b/ci/release @@ -1,10 +1,11 @@ #!/bin/bash set -xeuo pipefail -parent_ref=$(git rev-parse HEAD) cd "$(git rev-parse --show-toplevel)" +prev_ref=$(git rev-parse HEAD) +git commit --allow-empty -m "this is a test commit" ./release --nosign v99.0 -cleanup() { git tag -d v99.0; git reset --hard "$parent_ref"; } +cleanup() { git tag -d v99.0; git reset --hard "$prev_ref"; } trap cleanup EXIT want=" 1 file changed, 2 insertions(+), 2 deletions(-)"