Skip to content

Commit

Permalink
fix: rectify bugs in release process (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
shreemaan-abhishek authored Sep 5, 2024
1 parent f9a4c63 commit d88571b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ image_tag="20.04"
endif
# Set arch to linux/amd64 if it's not defined
arch ?= linux/amd64

# Detect the CPU architecture
CPU_ARCH := $(shell uname -m)
# Map the architecture to Docker platform
ifeq ($(CPU_ARCH), arm64)
arch := linux/arm64
else ifeq ($(CPU_ARCH), aarch64)
arch := linux/arm64
endif

buildx=0
cache_from=type=local,src=/tmp/.buildx-cache
cache_to=type=local,dest=/tmp/.buildx-cache
Expand Down
2 changes: 1 addition & 1 deletion utils/publish-rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func_rpmsign_macros_init() {
# Macros for signing RPMs.
%_signature gpg
%_gpg_path ${HOME}/.gnupg
%_gpg_name ${GPG_NAME} ${GPG_MAIL}
%_gpg_name ${GPG_MAIL}
%_gpgbin /usr/bin/gpg
%__gpg_sign_cmd %{__gpg} gpg --batch --verbose --no-armor --pinentry-mode loopback --passphrase-file ${VAR_GPG_PASSPHRASE} --no-secmem-warning -u "%{_gpg_name}" -sbo %{__signature_filename} --digest-algo sha256 %{__plaintext_filename}
_EOC_
Expand Down

0 comments on commit d88571b

Please sign in to comment.