Skip to content

Commit

Permalink
devops: replace deprecated sparkle signing
Browse files Browse the repository at this point in the history
  • Loading branch information
EETagent committed Feb 2, 2024
1 parent 83c46ef commit 4003aa8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ jobs:
TAG_RELEASE_URL="${RELEASE_URL}${CUR_TAG}"
SPARKLE_BIN='./build/SourcePackages/artifacts/Sparkle/bin'
PUBDATE="$(date +"%a, %d %b %Y %T %z")"
SIGN=$(echo SPARKLE_KEY | $SPARKLE_BIN/sign_update ./Artifacts/Send.dmg --ed-key-file -)
APPCAST=(
'<?xml version="1.0" standalone="yes"?>'
'<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" version="2.0">'
Expand All @@ -119,7 +121,7 @@ jobs:
' ]]>'
' </description>'
' <sparkle:minimumSystemVersion>10.13</sparkle:minimumSystemVersion>'
" <enclosure url=\"https://github.com/EETagent/Send/releases/latest/download/Send.dmg\" sparkle:version=\"${VER_BUILD}\" sparkle:shortVersionString=\"${VER}\" type=\"application/octet-stream\" $($SPARKLE_BIN/sign_update -s ${SPARKLE_KEY} ./Artifacts/Send.dmg)/>"
" <enclosure url=\"https://github.com/EETagent/Send/releases/latest/download/Send.dmg\" sparkle:version=\"${VER_BUILD}\" sparkle:shortVersionString=\"${VER}\" type=\"application/octet-stream\" ${SIGN} />"
' </item>'
' </channel>'
'</rss>'
Expand Down

0 comments on commit 4003aa8

Please sign in to comment.