diff options
author | Tobias K <6317548+theCalcaholic@users.noreply.github.com> | 2022-07-24 15:07:45 +0300 |
---|---|---|
committer | Tobias K <6317548+theCalcaholic@users.noreply.github.com> | 2022-07-24 15:07:45 +0300 |
commit | 1146767299daf571d3dd55529a688a81c2469b24 (patch) | |
tree | 4647a9f78d3d3ed7f0bfb0bd3ce0d23a79a61888 | |
parent | a73ef5d78f6c1d3293e9aaa336621ce50670f378 (diff) |
release.yml: Fix release step not seeing assets variable
-rw-r--r-- | .github/workflows/release.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 184bfd5b..820b7e3e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -99,7 +99,8 @@ jobs: uses: actions/download-artifact@v3 with: path: artifacts - - name: Create Release + - name: Prepare Release + id: prepare-release run: | mkdir -p release cd release @@ -118,14 +119,17 @@ jobs: echo "Assets: ${assets[*]}" echo "Message: ${checksums[*]}" + echo "::set-output name=assets::$(printf " %q" "${IMG[@]}")" - name: Publish if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - hub release create "${assets[@]}" -F - "${{ env.VERSION }}" <<EOF + hub release create ${{ steps.prepare-release.outputs.assets }} -F - "${{ env.VERSION }}" <<EOF $(git tag -n10 "${{ env.VERSION }}" || echo "No tag message found") + --- + [Docker images](https://hub.docker.com/r/ownyourbits/nextcloudpi) [Changelog](https://github.com/nextcloud/nextcloudpi/blob/${{ env.VERSION }}/changelog.md) |