diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 55556c4668..aadc72574b 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -96,7 +96,7 @@ jobs: - uses: actions/checkout@v5 - name: Get the version and date run: | - ver_pure=$(grep 'set(SoftFever_VERSION' version.inc | cut -d '"' -f2) + ver_pure=$(grep 'set(Snapmaker_VERSION' version.inc | cut -d '"' -f2) if [[ "${{ github.event_name }}" == "pull_request" ]]; then ver="PR-${{ github.event.number }}" else diff --git a/build_flatpak.sh b/build_flatpak.sh index 3cdf49b5a4..8ea9b5e466 100755 --- a/build_flatpak.sh +++ b/build_flatpak.sh @@ -208,7 +208,7 @@ fi # Get version information echo -e "${YELLOW}Getting version information...${NC}" if [[ -f "version.inc" ]]; then - VER_PURE=$(grep 'set(SoftFever_VERSION' version.inc | cut -d '"' -f2) + VER_PURE=$(grep 'set(Snapmaker_VERSION' version.inc | cut -d '"' -f2) VER="V$VER_PURE" DATE=$(date +'%Y%m%d') echo -e "Version: ${GREEN}$VER${NC}"