diff --git a/.github/workflows/spotube-nightly.yml b/.github/workflows/spotube-nightly.yml index ea4faa87..7c85d84c 100644 --- a/.github/workflows/spotube-nightly.yml +++ b/.github/workflows/spotube-nightly.yml @@ -24,7 +24,7 @@ jobs: sudo apt-get update -y sudo apt-get install -y tar clang cmake ninja-build pkg-config libgtk-3-dev make python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev curl -sS https://webi.sh/yq | sh - yq -i '.version |= sub("\+\d+", "-nightly-")' pubspec.yaml + yq -i '.version |= sub("\+\d+", "+nightly.")' pubspec.yaml yq -i '.version += strenv(GITHUB_RUN_NUMBER)' pubspec.yaml flutter config --enable-linux-desktop flutter pub get @@ -82,7 +82,7 @@ jobs: sudo apt-get update -y sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev make python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse curl -sS https://webi.sh/yq | sh - yq -i '.version |= sub("\+\d+", "-nightly-")' pubspec.yaml + yq -i '.version |= sub("\+\d+", "+nightly.")' pubspec.yaml yq -i '.version += strenv(GITHUB_RUN_NUMBER)' pubspec.yaml flutter pub get @@ -127,7 +127,7 @@ jobs: - name: Installing dependencies and configuring versions run: | choco install sed make yq -y - yq -i '.version |= sub("\+\d+", "-nightly-")' pubspec.yaml + yq -i '.version |= sub("\+\d+", "+nightly.")' pubspec.yaml yq -i '.version += strenv(GITHUB_RUN_NUMBER)' pubspec.yaml sed -i "s/%{{SPOTUBE_VERSION}}%/${{ github.run_number }}/" windows/runner/Runner.rc flutter config --enable-windows-desktop @@ -169,7 +169,7 @@ jobs: - name: Installing dependencies and configuring versions run: | brew install yq - yq -i '.version |= sub("\+\d+", "-nightly-")' pubspec.yaml + yq -i '.version |= sub("\+\d+", "+nightly.")' pubspec.yaml yq -i '.version += strenv(GITHUB_RUN_NUMBER)' pubspec.yaml flutter config --enable-macos-desktop flutter pub get diff --git a/lib/pages/settings/about.dart b/lib/pages/settings/about.dart index d589cc11..0ae82686 100644 --- a/lib/pages/settings/about.dart +++ b/lib/pages/settings/about.dart @@ -64,6 +64,10 @@ class AboutSpotube extends HookConsumerWidget { "Version: v${packageInfo.version}", ), const SizedBox(height: 5), + PlatformText( + "Build Number: ${packageInfo.buildNumber.replaceAll(".", " ")}", + ), + const SizedBox(height: 5), InkWell( onTap: () { launchUrlString( @@ -84,7 +88,7 @@ class AboutSpotube extends HookConsumerWidget { ); }, child: const PlatformText( - "License: BSD-4-Clause", + "License: BSD-4-Clause", ), ), const SizedBox(height: 5),