From 319fff828d782fbf7aaa01461161942273e1f232 Mon Sep 17 00:00:00 2001 From: Nick Pappas Date: Sun, 28 Jul 2024 19:11:27 -0500 Subject: [PATCH] fix: force bump again to test --- .github/workflows/release-api.yaml | 12 ++++++++++++ .github/workflows/release-please.yaml | 11 ++++++----- .github/workflows/release-web.yaml | 12 ++++++++++++ app/pubspec.lock | 4 ++-- app/pubspec.yaml | 4 ++-- common/package.json | 2 +- server/hasura/version.txt | 1 + 7 files changed, 36 insertions(+), 10 deletions(-) create mode 100644 server/hasura/version.txt diff --git a/.github/workflows/release-api.yaml b/.github/workflows/release-api.yaml index 0484a0e..6c335db 100644 --- a/.github/workflows/release-api.yaml +++ b/.github/workflows/release-api.yaml @@ -9,12 +9,24 @@ on: tag_name: description: 'Tag name' required: true + environment: + type: choice + options: + - production + - staging + description: 'Environment' + required: true + default: production workflow_call: inputs: tag_name: description: 'Tag name' type: string required: true + environment: + type: string + description: 'Environment' + required: true secrets: GH_PAT: description: 'GitHub Personal Access Token' diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index f06eaa9..4578044 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -13,13 +13,13 @@ jobs: release-please: runs-on: ubuntu-latest outputs: - api--tag_name: ${{ steps.release.outputs['server/hasura--tag_name']}} + api--tag_name: ${{ steps.release.outputs['server/hasura--version']}} api--release_created: ${{ steps.release.outputs['server/hasura--release_created']}} - app--tag_name: ${{ steps.release.outputs.app--tag_name}} + app--tag_name: ${{ steps.release.outputs.app--version}} app--release_created: ${{ steps.release.outputs.app--release_created}} - faas--tag_name: ${{ steps.release.outputs['server/faas--tag_name']}} + faas--tag_name: ${{ steps.release.outputs['server/faas--version']}} faas--release_created: ${{ steps.release.outputs['server/faas--release_created']}} - web--tag_name: ${{ steps.release.outputs.app--tag_name}} + web--tag_name: ${{ steps.release.outputs.app--version}} web--release_created: ${{ steps.release.outputs.app--release_created}} steps: - uses: googleapis/release-please-action@v4 @@ -39,7 +39,7 @@ jobs: secrets: inherit with: tag_name: ${{needs.release-please.outputs.api--tag_name}} - + environment: production release-app: if: ${{needs.release-please.outputs.app--release_created}} @@ -65,3 +65,4 @@ jobs: secrets: inherit with: tag_name: ${{needs.release-please.outputs.web--tag_name}} + environment: production diff --git a/.github/workflows/release-web.yaml b/.github/workflows/release-web.yaml index 7754d71..59b0562 100644 --- a/.github/workflows/release-web.yaml +++ b/.github/workflows/release-web.yaml @@ -10,12 +10,24 @@ on: type: string description: 'Tag name' required: true + environment: + type: choice + options: + - production + - staging + description: 'Environment' + required: true + default: production workflow_call: inputs: tag_name: type: string description: 'Tag name' required: true + environment: + type: string + description: 'Environment' + required: true secrets: DOTENV: description: '.env file content' diff --git a/app/pubspec.lock b/app/pubspec.lock index 774dc89..24df08f 100644 --- a/app/pubspec.lock +++ b/app/pubspec.lock @@ -491,10 +491,10 @@ packages: dependency: "direct main" description: name: gql - sha256: afe032332ddfa69b79f1dea2ad7d95923d4993c1b269b224fc7bb3d17e32d33c + sha256: "8ecd3585bb9e40d671aa58f52575d950670f99e5ffab18e2b34a757e071a6693" url: "https://pub.dev" source: hosted - version: "1.0.1-alpha+1709845491443" + version: "1.0.1-alpha+1717789143880" gql_code_builder: dependency: transitive description: diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 962658c..86f50f0 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -41,10 +41,10 @@ dependencies: flutter_mobx: ^2.2.1 flutter_dotenv: ^5.1.0 adaptive_navigation: ^0.0.10 - graphql_flutter: ^5.2.0-beta.5 + graphql_flutter: ^5.2.0-beta.6 flutter_hooks: ^0.20.5 graphql: ^5.2.0-beta.8 - gql: ^1.0.0 + gql: 1.0.1-alpha+1717789143880 fraction: ^5.0.2 url_launcher: ^6.3.0 device_preview: ^1.2.0 diff --git a/common/package.json b/common/package.json index 3f0be27..3435dd7 100644 --- a/common/package.json +++ b/common/package.json @@ -15,7 +15,7 @@ "@graphql-codegen/fragment-matcher": "^5.0.2", "@graphql-codegen/introspection": "4.0.3", "@graphql-codegen/schema-ast": "^4.1.0", - "@types/node": "^20.14.10", + "@types/node": "^20.14.13", "cross-fetch": "^4.0.0", "graphql": "^16.9.0", "ts-node": "^10.9.2" diff --git a/server/hasura/version.txt b/server/hasura/version.txt new file mode 100644 index 0000000..ce6a70b --- /dev/null +++ b/server/hasura/version.txt @@ -0,0 +1 @@ +1.6.0 \ No newline at end of file