Improve AppImage build (#6427)
Publish AboutThisBuild.txt for AppImage builds. Make AppImage name consistent with Windows builds. Port Windows build enhancements to AppImage build. Cache AppImage tools in build workflow. Fix AppImage publishing script. Remove "WinVista" from build artifact name.
This commit is contained in:
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
@@ -236,13 +236,13 @@ jobs:
|
||||
- name: Prepare artifact name
|
||||
run: |
|
||||
if [ '${{github.ref_type}}' == 'tag' ]; then
|
||||
ARTIFACT_NAME="RawTherapee_${REF_NAME_FILTERED}_WinVista_64_${{matrix.build_type}}"
|
||||
ARTIFACT_NAME="RawTherapee_${REF_NAME_FILTERED}_win64_${{matrix.build_type}}"
|
||||
else
|
||||
echo "Getting RawTherapee version."
|
||||
export VERSION="$(grep -m 1 '^Version: .*$' './build/${{matrix.build_type}}/AboutThisBuild.txt' | sed 's/^Version: \(.\+\)$/\1/')"
|
||||
echo "Version is '$VERSION'."
|
||||
FILTERED_VERSION="$(echo "$VERSION" | sed 's/[^A-z0-9_.-]//g')"
|
||||
ARTIFACT_NAME="RawTherapee_${REF_NAME_FILTERED}_${FILTERED_VERSION}_WinVista_64_${{matrix.build_type}}"
|
||||
ARTIFACT_NAME="RawTherapee_${REF_NAME_FILTERED}_${FILTERED_VERSION}_win64_${{matrix.build_type}}"
|
||||
fi
|
||||
echo "Artifact name is '$ARTIFACT_NAME'."
|
||||
|
||||
|
Reference in New Issue
Block a user