Skip to content

Commit

Permalink
updated version for nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
hjiangsu committed May 25, 2024
1 parent a277c92 commit 935d644
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/globals.dart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
const String currentVersion = '0.4.0-2+53';
const String currentVersion = '0.4.0-3+54';
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: thunder
description: An open-source cross-platform Lemmy client for iOS and Android built with Flutter
publish_to: "none"
version: 0.4.0-2+53
version: 0.4.0-3+54

environment:
sdk: "^3.0.0"
Expand Down
6 changes: 3 additions & 3 deletions scripts/build.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// ignore_for_file: avoid_print
import 'dart:io';
import 'package:thunder/globals.dart';

/// This script automatically generates the release files for the current version,
/// and stores the release files in /release directory.
Expand All @@ -16,9 +17,8 @@ void buildRelease() {
}

// Get current release version
print('\nFetching current version from pubspec.yaml...');
ProcessResult ciderResult = Process.runSync('cider', ['version']);
String version = ciderResult.stdout.toString().trim();
print('\nFetching current version from globals.dart...');
String version = currentVersion;
print(version);

print('\nRemoving previous build artifacts...');
Expand Down

0 comments on commit 935d644

Please sign in to comment.