Development
Install c2c_pub
dart pub global activate c2c_pub -u https://pub.csp.scrum-dev.com
Publish packages
1. Login with Google (@c2c-techhub.io)
cpub login
Note: Skip if you already logged in.
2. Get token and set token
Note: Token will be expired after 60 minutes. Please run this command if token is expired.
cpub get | dart pub token add https://pub.csp.scrum-dev.com
3. Publish package:
Go to package directory you want to publish and run:
flutter pub publish
Note:
- Update version in pubspec.yaml before publish.
- Update CHANGELOG.md before publish.
Example of pubspec.yaml:
name: c2c_core
description: C2C Core
version: 2.0.14
publish_to: https://pub.csp.scrum-dev.com
repository: "https://bitbucket.org/hidesignsJP/flutteruikits"
homepage: "https://bitbucket.org/hidesignsJP/flutteruikits"