diff --git a/.github/workflows/_shared-docker-clone.yaml b/.github/workflows/_shared-docker-clone.yaml index a92f1b91..89981ac2 100644 --- a/.github/workflows/_shared-docker-clone.yaml +++ b/.github/workflows/_shared-docker-clone.yaml @@ -52,7 +52,7 @@ jobs: tagstr="${{ matrix.tag }}" tagparts=(${tagstr//:/ }) echo "source_tag=${tagparts[0]}" >> $GITHUB_OUTPUT - if [ -z "$tagparts[1]" ]; then + if [ -z "${tagparts[1]}" ]; then echo "target_tag=${tagparts[0]}" >> $GITHUB_OUTPUT else echo "target_tag=${tagparts[1]}" >> $GITHUB_OUTPUT diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 4a8c3907..387b61fb 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -40,6 +40,13 @@ jobs: needs: [build_binaries] runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 + - name: Generate release changelog + uses: Bullrich/generate-release-changelog@master + id: changelog + env: + REPO: ${{ github.repository }} + # download build artifacts - name: "Download build artifacts" uses: actions/download-artifact@v3 @@ -54,8 +61,8 @@ jobs: release_name: "v${{ inputs.version }}" tag_name: "v${{ inputs.version }}" body: | - ### Major Changes - ... + ### Changes + ${{ steps.Changelog.outputs.changelog }} ### Release Artifacts Please read through the [wiki](https://github.com/pk910/dora/wiki) for setup & configuration instructions.