From 3109e5e35cfaba1f5ed46371d5cd342d7d957e7e Mon Sep 17 00:00:00 2001 From: Mark Kasaboski Date: Mon, 10 Feb 2025 13:48:44 -0600 Subject: [PATCH] Fixes Makefile publish target credential issue (#87) Co-authored-by: Mark Kasaboski --- .github/workflows/publish.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c5d8eb4..ac769c5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,4 +23,4 @@ jobs: - name: Package and Publish run: | make package - SPLUNKBASE_CREDS="${{ secrets.SPLUNKBASE_CREDS }}" make publish + SPLUNKBASE_CREDS='${{ secrets.SPLUNKBASE_CREDS }}' make publish diff --git a/Makefile b/Makefile index d4ff49b..33d6211 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ package: packages/flare/bin/vendor .PHONY: publish publish: output/flare.tar.gz - curl -u "$(SPLUNKBASE_CREDS)" --request POST https://splunkbase.splunk.com/api/v1/app/7602/new_release/ -F "files[]=@./output/flare.tar.gz" -F "filename=flare.tar.gz" -F "splunk_versions=9.3" -F "visibility=true" + curl -u $$SPLUNKBASE_CREDS --request POST https://splunkbase.splunk.com/api/v1/app/7602/new_release/ -F "files[]=@./output/flare.tar.gz" -F "filename=flare.tar.gz" -F "splunk_versions=9.3" -F "visibility=true" .PHONY: validate validate: venv-tools