Fix invalid reference to Ubuntu base in workflow

This commit is contained in:
Fabian Mastenbroek 2020-09-24 17:12:10 +02:00
parent ce9c4ef6e5
commit 453c379eee
No known key found for this signature in database
GPG key ID: 405FC6F81F0A7B85

View file

@ -45,8 +45,7 @@ jobs:
changelog="${changelog//$'\n'/'%0A'}"
changelog="${changelog//$'\r'/'%0D'}"
echo "::set-output name=changelog::$changelog"
base=$(scripts/version.sh -B)
echo "::set-output name=base::$base"
echo "::set-output name=base::$(scripts/version.sh -B)"
echo "::set-output name=branch::${GITHUB_REF##*/}"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
@ -55,7 +54,7 @@ jobs:
commit-message: |
Add Linux ${{ steps.update.outputs.version }}
This change updates the kernel to Linux ${{ steps.update.outputs.version }} based on Ubuntu ${{ steps.update.output.base }}.
This change updates the kernel to Linux ${{ steps.update.outputs.version }} based on Ubuntu ${{ steps.update.outputs.base }}.
branch: staging/v${{ steps.update.outputs.full }}
branch-suffix: short-commit-hash
delete-branch: true