Skip to content

Commit 7bc7a1f

Browse files
committed
Update token path for linux
1 parent 9d367a5 commit 7bc7a1f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ for:
162162
# publish package
163163
- sh: |
164164
if [[ "$APPVEYOR_REPO_TAG_NAME" != "" ]]; then
165-
mkdir -p $HOME/Library/Application\ Support/dart
166-
echo $PUB_DEV_TOKEN | base64 --decode > $HOME/Library/Application\ Support/dart/pub-credentials.json
165+
mkdir -p $HOME/.config/dart
166+
echo $PUB_DEV_TOKEN | base64 --decode > $HOME/.config/dart/pub-credentials.json
167167
dart pub publish --force
168168
elif [[ "$APPVEYOR_PULL_REQUEST_NUMBER" == "" ]]; then
169169
dart pub publish --dry-run

bin/package_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ class PackageCommand extends Command {
240240
} else if (Platform.isLinux) {
241241
arch = 'x86_64-unknown-linux-gnu';
242242
} else if (Platform.isWindows) {
243-
arch = 'x86_64-pc-windows-msvc-static';
243+
arch = 'x86_64-pc-windows-msvc-shared';
244244
}
245245

246246
final url =

0 commit comments

Comments
 (0)