diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f935cd1..01c4059 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -129,6 +129,8 @@ jobs: - run: | echo ${{ steps.metadata.outputs.value }} + echo ${{ needs.check.outputs.commit_hash }} + mv app/build/outputs/apk/dev/debug/app-dev-debug.apk app/build/outputs/apk/dev/debug/app-dev-debug-${{ steps.metadata.outputs.value }}-${{ needs.check.outputs.commit_hash }}.apk # - uses: joutvhu/get-release@v1 # id: latest_release @@ -141,7 +143,9 @@ jobs: # if: ${{ steps.metadata.outputs.elements[0].versionName != steps.latest_release.outputs.tag_name }} uses: ncipollo/release-action@v1 with: - tag: ${{ needs.check.outputs.commit_hash }} - name: "${{ steps.metadata.outputs.value }}-${{ needs.check.outputs.commit_hash }}" + tag: ${{ steps.metadata.outputs.value }} + allowUpdates: true + name: ${{ steps.metadata.outputs.value }} + body: 'Please see https://github.com/zotero/zotero-android/commits/master/ for changelog.' artifacts: "app/build/outputs/apk/dev/debug/*.apk" token: ${{ secrets.GITHUB_TOKEN }}