mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
cd: changed the nightly versioning format
This commit is contained in:
parent
0d26bae037
commit
669e3706da
8
.github/workflows/spotube-nightly.yml
vendored
8
.github/workflows/spotube-nightly.yml
vendored
@ -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
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user