mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
release.yml: Fix release step not seeing assets variable
This commit is contained in:
parent
a73ef5d78f
commit
1146767299
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user