mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-18 14:55:38 +00:00
Set new cooker name
This commit is contained in:
parent
3926e73160
commit
4f9d64d6f5
8
.github/workflows/cooker-selfhosted.yml
vendored
8
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -32,7 +32,8 @@ jobs:
|
|||
|
||||
- name: Generate build ID
|
||||
id: generating_buildid
|
||||
run: echo "##[set-output name=build-id;]$(echo "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}")"
|
||||
#run: echo "##[set-output name=build-id;]$(echo "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}")"
|
||||
run: echo "##[set-output name=build-id;]$(echo "${{ git rev-parse --short HEAD }}")"
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
@ -65,14 +66,9 @@ jobs:
|
|||
run: |
|
||||
flatpak build-bundle ${GITHUB_WORKSPACE}/local RetroDECK.flatpak net.retrodeck.retrodeck
|
||||
|
||||
- name: Read version from version file
|
||||
id: version
|
||||
run: echo "##[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.version.outputs.version }}"
|
||||
tag: "${{ steps.generating_buildid.outputs.build-id }}"
|
||||
body: |
|
||||
# Release Notes (Cooker)
|
||||
|
|
|
@ -79,9 +79,7 @@ modules:
|
|||
VERSION="0.5.0b-cooker"
|
||||
if [[ $VERSION == *"cooker"* ]];
|
||||
then
|
||||
# Disabled until I figure it out
|
||||
# VERSION=$(git describe --tags | tr - .)
|
||||
VERSION="cooker-"$(date +%d%m%y.%H%M)
|
||||
VERSION="cooker-"$(git rev-parse --short HEAD)
|
||||
fi
|
||||
echo $VERSION >> ${FLATPAK_DEST}/retrodeck/version
|
||||
cat ${FLATPAK_DEST}/retrodeck/version
|
||||
|
|
Loading…
Reference in a new issue