Skip to content

Commit c79deba

Browse files
Merge pull request #41 from SpineEventEngine/fix-publishing
Resolve issues with publishing
2 parents 197cb2b + bfef04d commit c79deba

File tree

7 files changed

+19
-5
lines changed

7 files changed

+19
-5
lines changed

.github/keys/deploy_key_rsa.gpg

2.15 KB
Binary file not shown.

.github/workflows/publish.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,22 @@ jobs:
2828
- name: Build with gradle
2929
run: ./gradlew build --stacktrace
3030

31+
- name: Ensure credential directory exists
32+
run: mkdir -p $XDG_CONFIG_HOME/dart/
33+
3134
- name: Decrypt Pub credentials
3235
run: ./script/decrypt.sh "$PUB_CREDENTIALS_KEY" ./.github/keys/pub-credentials.json.gpg $XDG_CONFIG_HOME/dart/pub-credentials.json
3336
shell: bash
3437
env:
3538
PUB_CREDENTIALS_KEY: ${{ secrets.PUB_CREDENTIALS_KEY }}
3639

40+
- name: Decrypt Git SSH credentials
41+
run: ./script/decrypt.sh "$GIT_CREDENTIALS_KEY" ./.github/keys/deploy_key_rsa.gpg ./deploy_key_rsa
42+
env:
43+
GIT_CREDENTIALS_KEY: ${{ secrets.GIT_CREDENTIALS_KEY }}
44+
3745
- name: Publish to Pub
38-
run: ./gradlew publish -x test --stacktrace
46+
run: ./gradlew publish -x test --stacktrace
47+
env:
48+
FORMAL_GIT_HUB_PAGES_AUTHOR: [email protected]
49+
TRAVIS_REPO_SLUG: $GITHUB_REPOSITORY

client/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@
6161

6262
## 1.8.1
6363
This release fixes the previously broken `dart_code_gen:1.8.0`.
64+
65+
## 1.8.2
66+
This release removes web-based `firebase` implementation from the client.

client/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ tasks.assemble {
6767
val dartDocDir = Files.createTempDir()
6868

6969
val dartDoc by tasks.creating(Exec::class) {
70-
commandLine("dartdoc", "--output", dartDocDir.path, "$projectDir/lib/")
70+
commandLine("dart", "doc", "--output", dartDocDir.path)
7171
}
7272

7373
afterEvaluate {

client/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: spine_client
22
description: Dart-based library for client applications of Spine-based systems.
3-
version: 1.8.1
3+
version: 1.8.2
44
homepage: https://spine.io
55

66
environment:

codegen/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: dart_code_gen
22
description: A command-line tool which generates Dart code for Protobuf type registries.
3-
version: 1.8.1
3+
version: 1.8.2
44
homepage: https://spine.io
55

66
environment:

integration-tests/client-test/integration-test/client_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void main() {
7676
/// if they already create subscriptions, they are not likely to make a query as soon as
7777
/// an update occurs.
7878
///
79-
Future<void> _sleep() => Future.delayed(Duration(seconds: 2));
79+
Future<void> _sleep() => Future.delayed(Duration(seconds: 3));
8080

8181
test('send commands and obtain query data through Firebase RDB', () async {
8282
var taskId = TaskId()

0 commit comments

Comments
 (0)