Skip to content

Commit

Permalink
CI: Dry run flathub stable push
Browse files Browse the repository at this point in the history
  • Loading branch information
F0bes committed Jan 3, 2025
1 parent 1feb314 commit a3663eb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron_publish_flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ jobs:
cmakeflags: ""
publish: true
fetchTags: true
stableBuild: false
stableBuild: true
secrets: inherit

6 changes: 4 additions & 2 deletions .github/workflows/linux_build_flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ jobs:
# it doesn't fetch tags, therefore we don't get a version. So grab them manually.
# actions/checkout elides tags, fetch them primarily for releases
- name: Fetch tags
if: ${{ inputs.fetchTags }}
run: git fetch --tags --no-recurse-submodules
# if: ${{ inputs.fetchTags }}
run: |
git fetch --tags --no-recurse-submodules --depth=1
git checkout 2d5faa627ff54f3fb2a69a43286181bee071a1c3
- name: Add stable release identifier file
if: ${{ inputs.stableBuild == true || inputs.stableBuild == 'true' }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/scripts/linux/generate-metainfo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ if [[ "${GIT_VERSION}" == "" ]]; then
fi

echo "GIT_DATE: ${GIT_DATE}"

echo "GIT_VERSION: ${GIT_VERSION}"
GIT_VERSION= $(echo ${GIT_VERSION} | awk '{print $1;}')
echo "GIT_VERSION after multiple tag removal: ${GIT_VERSION}"

echo "GIT_HASH: ${GIT_HASH}"

cp "${SCRIPTDIR}"/pcsx2-qt.metainfo.xml.in "${OUTFILE}"
Expand Down

0 comments on commit a3663eb

Please sign in to comment.