Skip to content

Commit 7872a00

Browse files
committed
Generating token for publishing
1 parent 7bc7a1f commit 7872a00

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

CONTRIBUTING.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,22 @@ Bump version in:
1111
Bump `serious_python` dependency version with `flutter pub get` in example lock files:
1212

1313
* `example/flet_example/pubspec.lock`
14-
* `example/flask_example/pubspec.lock`
14+
* `example/flask_example/pubspec.lock`
15+
16+
Update `CHANGELOG.md`.
17+
18+
## Getting token for automatic publishing to pub.dev
19+
20+
Token locations on different OSes: https://stackoverflow.com/a/70487480/1435891
21+
22+
Login to pub.dev:
23+
24+
```
25+
flutter pub login
26+
```
27+
28+
Encode token to base64:
29+
30+
```
31+
cat $HOME/Library/Application\ Support/dart/pub-credentials.json | base64
32+
```

0 commit comments

Comments
 (0)