mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-03-06 14:27:48 +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
|
- name: Generate build ID
|
||||||
id: generating_buildid
|
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
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
@ -65,14 +66,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
flatpak build-bundle ${GITHUB_WORKSPACE}/local RetroDECK.flatpak net.retrodeck.retrodeck
|
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
|
- name: Publish the flatpak in a new cooker release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
#tag: "${{ steps.version.outputs.version }}"
|
|
||||||
tag: "${{ steps.generating_buildid.outputs.build-id }}"
|
tag: "${{ steps.generating_buildid.outputs.build-id }}"
|
||||||
body: |
|
body: |
|
||||||
# Release Notes (Cooker)
|
# Release Notes (Cooker)
|
||||||
|
|
|
@ -79,9 +79,7 @@ modules:
|
||||||
VERSION="0.5.0b-cooker"
|
VERSION="0.5.0b-cooker"
|
||||||
if [[ $VERSION == *"cooker"* ]];
|
if [[ $VERSION == *"cooker"* ]];
|
||||||
then
|
then
|
||||||
# Disabled until I figure it out
|
VERSION="cooker-"$(git rev-parse --short HEAD)
|
||||||
# VERSION=$(git describe --tags | tr - .)
|
|
||||||
VERSION="cooker-"$(date +%d%m%y.%H%M)
|
|
||||||
fi
|
fi
|
||||||
echo $VERSION >> ${FLATPAK_DEST}/retrodeck/version
|
echo $VERSION >> ${FLATPAK_DEST}/retrodeck/version
|
||||||
cat ${FLATPAK_DEST}/retrodeck/version
|
cat ${FLATPAK_DEST}/retrodeck/version
|
||||||
|
|
Loading…
Reference in a new issue