1

fix ci/release

by adding a stub commit there
This commit is contained in:
Motiejus Jakštys 2022-04-20 14:45:48 +03:00
parent 160de46269
commit d4f40a19fb

View File

@ -1,10 +1,11 @@
#!/bin/bash #!/bin/bash
set -xeuo pipefail set -xeuo pipefail
parent_ref=$(git rev-parse HEAD)
cd "$(git rev-parse --show-toplevel)" 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 ./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 trap cleanup EXIT
want=" 1 file changed, 2 insertions(+), 2 deletions(-)" want=" 1 file changed, 2 insertions(+), 2 deletions(-)"