2929 echo "::set-output name=notion_download_hash::$NOTION_DOWNLOAD_HASH"
3030 echo "::set-output name=notion_enhancer_desktop_commit::$NOTION_ENHANCER_DESKTOP_COMMIT"
3131
32- NOTION_REPACKAGED_VERSION_REV="${NOTION_VERSION}-${NOTION_REPACKAGED_REVISION}"
32+ NOTION_REPACKAGED_VERSION_REV="${NOTION_VERSION}-{0}. ${NOTION_REPACKAGED_REVISION}"
3333 echo "::set-output name=notion_repackaged_version_rev::$NOTION_REPACKAGED_VERSION_REV"
3434 outputs :
3535 notion_version : ${{ steps.preload-variables.outputs.notion_version }}
@@ -42,14 +42,17 @@ jobs:
4242 name : Create release
4343 runs-on : ubuntu-latest
4444 needs : [preload-variables]
45+ strategy :
46+ matrix :
47+ edition : [vanilla, enhanced]
4548 steps :
4649 - uses : actions/checkout@v2
4750 - uses : release-drafter/release-drafter@v5
4851 env :
4952 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5053 with :
51- version : ${{ needs.preload-variables.outputs.notion_repackaged_version_rev }}
52- tag : v${{ needs.preload-variables.outputs.notion_repackaged_version_rev }}
54+ version : ${{ format( needs.preload-variables.outputs.notion_repackaged_version_rev, matrix.edition) }}
55+ tag : v${{ format( needs.preload-variables.outputs.notion_repackaged_version_rev, matrix.edition) }}
5356
5457 make-vanilla-sources :
5558 name : Make vanilla sources
7982
8083 make-enhanced-sources :
8184 name : Make enhanced sources
82- needs : [make-vanilla-sources, preload-variables]
8385 runs-on : ubuntu-latest
86+ needs : [make-vanilla-sources, preload-variables]
87+ env :
88+ NOTION_VERSION : ${{ needs.preload-variables.outputs.notion_version }}
89+ NOTION_REPACKAGED_REVISION : ${{ needs.preload-variables.outputs.notion_repackaged_revision }}
8490 steps :
8591 - uses : actions/checkout@v2
8692 - name : Install icnsutils and moreutils
0 commit comments