mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-23 22:45:38 +00:00
WORKFLOW: fixed version reader
This commit is contained in:
parent
c46bb57508
commit
b1e220a073
8
.github/workflows/cooker.yml
vendored
8
.github/workflows/cooker.yml
vendored
|
@ -117,14 +117,14 @@ jobs:
|
||||||
# run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
# run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
||||||
# id: extract_branch
|
# id: extract_branch
|
||||||
|
|
||||||
- name: Generate tag
|
- name: Read version from version file
|
||||||
id: tag
|
id: version
|
||||||
run: "##[set-output name=tag;]echo $(flatpak run net.retrodeck.retrodeck -v)"
|
run: "##[set-output name=version;]cat $(find . -name version)"
|
||||||
|
|
||||||
- name: Publish the flatpak in a new cooker release
|
- name: Publish the flatpak in a new cooker release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
tag: "${{ steps.tag.outputs.tag }}"
|
tag: "${{ steps.version.outputs.version }}"
|
||||||
body: |
|
body: |
|
||||||
# Release Notes (Cooker)
|
# Release Notes (Cooker)
|
||||||
This is a cooker snapshot based on the commit: ${{ github.event.repository.full_name }}@${{github.sha}}.
|
This is a cooker snapshot based on the commit: ${{ github.event.repository.full_name }}@${{github.sha}}.
|
||||||
|
|
Loading…
Reference in a new issue