WORKFLOW: fixed version reader

This commit is contained in:
Xargon 2022-05-21 09:35:22 +09:00
parent c46bb57508
commit b1e220a073

View file

@ -117,14 +117,14 @@ jobs:
# run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
# id: extract_branch
- name: Generate tag
id: tag
run: "##[set-output name=tag;]echo $(flatpak run net.retrodeck.retrodeck -v)"
- name: Read version from version file
id: version
run: "##[set-output name=version;]cat $(find . -name version)"
- name: Publish the flatpak in a new cooker release
uses: ncipollo/release-action@v1
with:
tag: "${{ steps.tag.outputs.tag }}"
tag: "${{ steps.version.outputs.version }}"
body: |
# Release Notes (Cooker)
This is a cooker snapshot based on the commit: ${{ github.event.repository.full_name }}@${{github.sha}}.