From ba89110eab01f4f27c3f402b8b39af353405e2f9 Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Wed, 18 Jan 2023 18:10:47 +0100 Subject: [PATCH] chore: some fixes --- .woodpecker/build.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index b77a405..0785392 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -57,7 +57,7 @@ pipeline: - export OBJ_PATH="/vieter/commits/$CI_COMMIT_SHA/vieter-$(echo '${PLATFORM}' | sed 's:/:-:g')" - export SIG_STRING="PUT\n\n$CONTENT_TYPE\n$DATE\n$OBJ_PATH" - - export SIGNATURE="$(echo -en $SIG_STRING | openssl sha1 -hmac $S3_PASSWORD -binary | base64)" + - export SIGNATURE="$(echo -en $SIG_STRING | openssl dgst -sha1 -hmac $S3_PASSWORD -binary | base64)" - > curl --silent diff --git a/Makefile b/Makefile index 2f6029e..4b75910 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ fmt: # Testing .PHONY: test -test: +test: libvieter $(V) -g test $(SRC_DIR)