Skip to content

Commit

Permalink
Merge pull request #41 from SpineEventEngine/fix-publishing
Browse files Browse the repository at this point in the history
Resolve issues with publishing
  • Loading branch information
dmytro-kashcheiev authored Jun 28, 2022
2 parents 197cb2b + bfef04d commit c79deba
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 5 deletions.
Binary file added .github/keys/deploy_key_rsa.gpg
Binary file not shown.
13 changes: 12 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,22 @@ jobs:
- name: Build with gradle
run: ./gradlew build --stacktrace

- name: Ensure credential directory exists
run: mkdir -p $XDG_CONFIG_HOME/dart/

- name: Decrypt Pub credentials
run: ./script/decrypt.sh "$PUB_CREDENTIALS_KEY" ./.github/keys/pub-credentials.json.gpg $XDG_CONFIG_HOME/dart/pub-credentials.json
shell: bash
env:
PUB_CREDENTIALS_KEY: ${{ secrets.PUB_CREDENTIALS_KEY }}

- name: Decrypt Git SSH credentials
run: ./script/decrypt.sh "$GIT_CREDENTIALS_KEY" ./.github/keys/deploy_key_rsa.gpg ./deploy_key_rsa
env:
GIT_CREDENTIALS_KEY: ${{ secrets.GIT_CREDENTIALS_KEY }}

- name: Publish to Pub
run: ./gradlew publish -x test --stacktrace
run: ./gradlew publish -x test --stacktrace
env:
FORMAL_GIT_HUB_PAGES_AUTHOR: [email protected]
TRAVIS_REPO_SLUG: $GITHUB_REPOSITORY
3 changes: 3 additions & 0 deletions client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@

## 1.8.1
This release fixes the previously broken `dart_code_gen:1.8.0`.

## 1.8.2
This release removes web-based `firebase` implementation from the client.
2 changes: 1 addition & 1 deletion client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ tasks.assemble {
val dartDocDir = Files.createTempDir()

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

afterEvaluate {
Expand Down
2 changes: 1 addition & 1 deletion client/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: spine_client
description: Dart-based library for client applications of Spine-based systems.
version: 1.8.1
version: 1.8.2
homepage: https://spine.io

environment:
Expand Down
2 changes: 1 addition & 1 deletion codegen/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: dart_code_gen
description: A command-line tool which generates Dart code for Protobuf type registries.
version: 1.8.1
version: 1.8.2
homepage: https://spine.io

environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void main() {
/// if they already create subscriptions, they are not likely to make a query as soon as
/// an update occurs.
///
Future<void> _sleep() => Future.delayed(Duration(seconds: 2));
Future<void> _sleep() => Future.delayed(Duration(seconds: 3));

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

0 comments on commit c79deba

Please sign in to comment.