Skip to content

Commit

Permalink
0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
franzaps committed Aug 21, 2024
1 parent 2676a7b commit de5944b
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 18 deletions.
3 changes: 1 addition & 2 deletions lib/commands/install.dart
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ Future<void> install(String value, {bool skipWot = false}) async {

installSpinner
.success('Installed package ${app.identifier!.bold()}@${meta.version}');
} catch (e, stack) {
print(stack);
} catch (e) {
rethrow;
} finally {
await relay?.dispose();
Expand Down
4 changes: 2 additions & 2 deletions lib/commands/publish/local_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class LocalParser {

if (metadataOnRelay.isNotEmpty) {
if (Platform.environment['OVERWRITE'] == null) {
uploadSpinner
.fail('Release version $version already in relay, nothing to do');
uploadSpinner.fail(
'Artifact with hash $artifactHash is already in relay, nothing to do');
throw GracefullyAbortSignal();
}
}
Expand Down
3 changes: 0 additions & 3 deletions lib/commands/publish/playstore_parser.dart
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import 'dart:io';

import 'package:cli_spin/cli_spin.dart';
import 'package:html/parser.dart';
import 'package:zapstore_cli/models/nostr.dart';
import 'package:http/http.dart' as http;
import 'package:path/path.dart' as path;
import 'package:html2md/html2md.dart';
import 'package:zapstore_cli/utils.dart';

Expand Down
4 changes: 1 addition & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ import 'package:zapstore_cli/commands/publish.dart';
import 'package:zapstore_cli/commands/remove.dart';
import 'package:zapstore_cli/utils.dart';

const kZapstorePubkey =
'78ce6faa72264387284e647ba6938995735ec8c7d5c5a65737e55130f026307d';
const kVersion = '0.0.3';
const kVersion = '0.0.4';

void main(List<String> args) async {
var wasError = false;
Expand Down
3 changes: 3 additions & 0 deletions lib/models/package.dart
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,6 @@ int compareVersions(String v1, String v2) {

return 0;
}

const kZapstorePubkey =
'78ce6faa72264387284e647ba6938995735ec8c7d5c5a65737e55130f026307d';
8 changes: 5 additions & 3 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,11 @@ packages:
purplebase:
dependency: "direct main"
description:
path: "../purplebase"
relative: true
source: path
path: "."
ref: c0e7b95cffc74caa3787b17fd742ca1f15a6fd0a
resolved-ref: c0e7b95cffc74caa3787b17fd742ca1f15a6fd0a
url: "https://github.com/purplebase/purplebase"
source: git
version: "0.1.1"
rational:
dependency: transitive
Expand Down
10 changes: 5 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: zapstore_cli
description: The permissionless app store powered by your social network
version: 0.0.3
version: 0.0.4
repository: https://github.com/zapstore/zapstore-cli

environment:
Expand All @@ -23,10 +23,10 @@ dependencies:

dependency_overrides:
purplebase:
path: ../purplebase
# git:
# url: https://github.com/purplebase/purplebase
# ref: c03cce7c8e03b6eeb1c3d42cf32ab3f4657222c8
# path: ../purplebase
git:
url: https://github.com/purplebase/purplebase
ref: c0e7b95cffc74caa3787b17fd742ca1f15a6fd0a

dev_dependencies:
lints: ^3.0.0
Expand Down

0 comments on commit de5944b

Please sign in to comment.