Skip to content
Snippets Groups Projects

Resolve "Publish to private packages repository"

Merged Benoît Harrault requested to merge 24-publish-to-private-packages-repository into master
3 files
+ 10
2
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 4
0
@@ -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
Loading