diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5929f93..02077a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,38 +98,47 @@ jobs: cd - cp ${XCBUILD_PATH}/*.zip Artifacts - - name: Generate Sparkle Appcast ✨ + # - name: Generate Sparkle Appcast ✨ + # run: | + # RELEASE_URL='https://github.com/EETagent/Send/releases/tag/' + # TAG_RELEASE_URL="${RELEASE_URL}${CUR_TAG}" + # SPARKLE_BIN='./build/SourcePackages/artifacts/Sparkle/bin' + # PUBDATE="$(date +"%a, %d %b %Y %T %z")" + # APPCAST=( + # '' + # '' + # ' ' + # ' Send' + # ' ' + # " ${VER}" + # " ${PUBDATE}" + # '

The latest updates are available here:

' + # ' ]]>' + # '
' + # ' 10.13' + # " " + # '
' + # '
' + # '
' + # ) + # for appcast in "${APPCAST[@]}"; do + # echo "${appcast}" >> ./Artifacts/appcast.xml + # done + # shell: zsh {0} + # env: + # SPARKLE_KEY: ${{ secrets.SPARKLE_KEY }} + - name: Update appcast run: | - RELEASE_URL='https://github.com/EETagent/Send/releases/tag/' - TAG_RELEASE_URL="${RELEASE_URL}${CUR_TAG}" SPARKLE_BIN='./build/SourcePackages/artifacts/Sparkle/bin' PUBDATE="$(date +"%a, %d %b %Y %T %z")" - APPCAST=( - '' - '' - ' ' - ' Send' - ' ' - " ${VER}" - " ${PUBDATE}" - '

The latest updates are available here:

' - ' ]]>' - '
' - ' 10.13' - " " - '
' - '
' - '
' - ) - for appcast in "${APPCAST[@]}"; do - echo "${appcast}" >> ./Artifacts/appcast.xml - done - shell: zsh {0} - env: - SPARKLE_KEY: ${{ secrets.SPARKLE_KEY }} + $SPARKLE_BIN/generate_appcast \ + --link https://github.com/EETagent/Send/releases \ + --download-url-prefix "https://github.com/EETagent/Send/releases/download/${CUR_TAG}/" \ + -o Artifacts/appcast.xml \ + Artifacts/ - name: Publish GitHub Release 📂 uses: ncipollo/release-action@v1