Skip to content

Commit 3109e5e

Browse files
markkasaboskiMark Kasaboski
andauthored
Fixes Makefile publish target credential issue (#87)
Co-authored-by: Mark Kasaboski <mark.kasaboski@gmail.com>
1 parent 6e31b8e commit 3109e5e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
- name: Package and Publish
2424
run: |
2525
make package
26-
SPLUNKBASE_CREDS="${{ secrets.SPLUNKBASE_CREDS }}" make publish
26+
SPLUNKBASE_CREDS='${{ secrets.SPLUNKBASE_CREDS }}' make publish

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ package: packages/flare/bin/vendor
5151

5252
.PHONY: publish
5353
publish: output/flare.tar.gz
54-
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"
54+
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"
5555

5656
.PHONY: validate
5757
validate: venv-tools

0 commit comments

Comments
 (0)