Skip to content

Commit

Permalink
#76 Fix production release github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ayselafsar committed Nov 28, 2021
1 parent 475cf77 commit e965e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
appsigndir=${{ steps.build_release.outputs.sign_dir }}
SIGNATURE=$(cat ${appsigndir}/sign.txt | tr -d '\n')
VERSION=${{ steps.build_release.outputs.version }}
DOWNLOAD_URL=https://github.com/${{ github.repository }}/releases/download/${VERSION}/${APP_ID}-${VERSION}.tar.gz
DOWNLOAD_URL=https://github.com/${{ github.repository }}/releases/download/v${VERSION}/${APP_ID}-${VERSION}.tar.gz
curl -X POST -H "Authorization: Token $APPSTORE_TOKEN" https://apps.nextcloud.com/api/v1/apps/releases -H "Content-Type: application/json" -d '{"download":"'${DOWNLOAD_URL}'", "signature": "'${SIGNATURE}'"}'
env:
APPSTORE_TOKEN: ${{ secrets.APPSTORE_TOKEN }}

0 comments on commit e965e96

Please sign in to comment.