mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-26 17:30:32 -04:00
CI: Use array to build options string for Sparkle
This commit is contained in:
@@ -150,15 +150,18 @@ runs:
|
||||
print -n '${{ inputs.sparklePrivateKey }}' >> eddsa_private.key
|
||||
local feed_url='${{ steps.builds.outputs.feedUrl }}'
|
||||
local arch=${${${(s:_:)feed_url:t}[2]}//x86/x86_64}
|
||||
local sparkle_options=(
|
||||
--verbose
|
||||
--ed-key-file eddsa_private.key
|
||||
--download-url-prefix '${{ inputs.urlPrefix }}/'
|
||||
--full-release-notes-url "${feed_url//updates_*/notes_${{ inputs.channel }}.html}"
|
||||
--maximum-versions 0
|
||||
--maximum-deltas '${{ inputs.count }}'
|
||||
--channel '${{ inputs.channel }}'
|
||||
)
|
||||
|
||||
Sparkle/bin/generate_appcast \
|
||||
--verbose \
|
||||
--ed-key-file eddsa_private.key \
|
||||
--download-url-prefix '${{ inputs.urlPrefix }}/' \
|
||||
--full-release-notes-url "${feed_url//updates_*/notes_${{ inputs.channel }}.html}" \
|
||||
--maximum-versions 0 \
|
||||
--maximum-deltas ${{ inputs.count }} \
|
||||
--channel '${{ inputs.channel }}' \
|
||||
${sparkle_options} \
|
||||
builds
|
||||
|
||||
local -a deltas=(builds/*.delta(N))
|
||||
|
||||
Reference in New Issue
Block a user