Skip to content

Commit

Permalink
Fix connector base url and auto release via Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-quiltt committed Oct 1, 2023
1 parent 9a5b6db commit f19e79f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 4 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish to pub.dev

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'

jobs:
publish:
runs-on:
permissions:
id-token: write # Required for authentication using GitHub-signed OIDC token
steps:
- uses: actions/checkout@v3
- uses: flutter-actions/setup-flutter@v2
- name: Install dependencies
run: flutter pub get
- name: Publish
run: dart pub publish --force
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 0.1.1

- Fix connector base url and auto release via Github actions

## Version 0.1.0

- Initial release of the project
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.1.0"
version: "0.1.1"
sky_engine:
dependency: transitive
description: flutter
Expand Down
2 changes: 1 addition & 1 deletion lib/quiltt_connector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class _WebViewPage {
Widget build(BuildContext context) {
var oauthRedirectUrl = Uri.encodeComponent(_config.oauthRedirectUrl);
var connectorUrl =
"https://${_config.connectorId}.quiltt.dev/?mode=webview&oauth_redirect_url=$oauthRedirectUrl&quiltt_debug=true";
"https://${_config.connectorId}.quiltt.app/?mode=webview&oauth_redirect_url=$oauthRedirectUrl";
var javaScript = """
const options = {
source: 'quiltt',
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: quiltt_connector
description: Quiltt Connector SDK
version: 0.1.0
description: A Flutter SDK for Quiltt Connector, support iOS and Android.
version: 0.1.1
homepage: https://quiltt.io/
repository: https://github.com/quiltt/quiltt-connector-flutter-sdk

Expand Down

0 comments on commit f19e79f

Please sign in to comment.