diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24146a63278ee5256863115200fbd55e9fe14f83..0f3979c1011acab2d223ad80779ab2d623f0c44b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,5 +50,9 @@ application:release: else git tag -a "${TAG_NAME}" -m "Release ${VERSION_NAME}" git push origin "${TAG_NAME}" + flutter clean + flutter packages get + echo "${PRIVATE_PACKAGES_REPOSITORY_KEY}" | flutter pub token add https://pub.harrault.fr + flutter pub publish --force curl --silent -d "{\"token\": \"${JABBER_NOTIFICATION_TOKEN}\", \"message\": \"New tag for ${CI_PROJECT_PATH}: ${TAG_NAME}\"}" -H "Content-Type: application/json" -X POST ${JABBER_NOTIFICATION_URL} fi diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c20b08743cfd79ac412065cae5b1ad6eb2d8370..092ee02ff3afa7abac796abf40acaa7bfa9275da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.0 + +- Publish package to private repository https://pub.harrault.fr + ## 0.9.1 - Default use Column instead of ListView in parameters list to avoid update issue diff --git a/pubspec.yaml b/pubspec.yaml index 313c9c6b34bf1dce114f10dfe34e3742ec8a10bb..c53d70e4c7d5be0b5628f0202254a29efb249573 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,9 +1,9 @@ name: flutter_custom_toolbox description: "Flutter custom toolbox for org.benoitharrault.* projects." -publish_to: "none" +publish_to: https://pub.harrault.fr/ -version: 0.9.1 +version: 1.0.0 homepage: https://git.harrault.fr/android/flutter-toolbox