From dd3aa9b3c24f20424d2dcbad9c22e4c172c983ba Mon Sep 17 00:00:00 2001 From: Rex Raphael Date: Sun, 7 Jan 2024 19:45:04 -0600 Subject: [PATCH 1/7] chore: updated example project --- .github/workflows/main.yaml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ea85b1999..47b704349 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,9 +1,16 @@ -name: genopets +name: main + +permissions: + id-token: write # Enable OIDC + pull-requests: write + contents: write + packages: write + issues: write on: [pull_request, push] jobs: - build: + lint-test: runs-on: ubuntu-latest steps: @@ -28,3 +35,22 @@ jobs: - name: Run tests run: flutter test --no-pub --coverage --test-randomize-ordering-seed random + + prerelease: + runs-on: ubuntu-latest + needs: + - lint-test + if: github.ref == 'refs/heads/main' + + steps: + - uses: actions/checkout@v2 + + - name: Run Release + uses: google-github-actions/release-please-action@v3 + with: + release-type: dart + package-name: flutter-unity-widget + default-branch: main + signoff: "Rex Raphael " + token: ${{ secrets.GIT_TOKEN }} + From c3992236bc2b6653805dbd6956de6aced320f702 Mon Sep 17 00:00:00 2001 From: Rex Raphael Date: Sun, 7 Jan 2024 19:46:36 -0600 Subject: [PATCH 2/7] chore: updated github code --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 47b704349..9a7b1b13f 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-latest needs: - lint-test - if: github.ref == 'refs/heads/main' +# if: github.ref == 'refs/heads/main' todo! will reenable steps: - uses: actions/checkout@v2 From f670c367fc6f395ff14bad806cbdaad3d253dffc Mon Sep 17 00:00:00 2001 From: Rex Raphael Date: Sun, 7 Jan 2024 19:49:22 -0600 Subject: [PATCH 3/7] chore: updated github code --- CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 499bf44e3..b146ca65a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## 2022.2.0 +* Minor improvements + +* ## 2022.2.0 + * Enable AndroidView due to native view improvement in flutter 3.3.0 ## 2022.1.7+1 diff --git a/pubspec.yaml b/pubspec.yaml index d7b2c03dd..09ce7bcf9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_unity_widget description: Flutter Unity 3D widget for embedding Unity game scenes in flutter. This library now supports Unity as a Library. -version: 2022.2.0 +version: 2022.2.1 #authors: # - Rex Raphael # - Thomas Stockx From a2d02af854480efdb7c58233ccafca112de96754 Mon Sep 17 00:00:00 2001 From: Rex Raphael Date: Sun, 7 Jan 2024 20:23:01 -0600 Subject: [PATCH 4/7] fix: made a release and bumped version --- .github/workflows/main.yaml | 16 +++++----------- .release-please-manifest.json | 1 + CHANGELOG.md | 2 +- pubspec.yaml | 2 +- release-please-config.json | 5 +++++ 5 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 9a7b1b13f..0c8c7dbfa 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,11 +1,6 @@ name: main -permissions: - id-token: write # Enable OIDC - pull-requests: write - contents: write - packages: write - issues: write +permissions: write-all on: [pull_request, push] @@ -43,14 +38,13 @@ jobs: # if: github.ref == 'refs/heads/main' todo! will reenable steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run Release - uses: google-github-actions/release-please-action@v3 + uses: google-github-actions/release-please-action@v4 with: - release-type: dart - package-name: flutter-unity-widget default-branch: main - signoff: "Rex Raphael " token: ${{ secrets.GIT_TOKEN }} + config-file: release-please-config.json +# manifest-file: .release-please-manifest.json diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b146ca65a..f7ae9aa23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 2022.2.0 +## 2022.2.1 * Minor improvements diff --git a/pubspec.yaml b/pubspec.yaml index 09ce7bcf9..14e0fa8f8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -8,7 +8,7 @@ version: 2022.2.1 homepage: https://github.com/juicycleff/flutter-unity-view-widget/tree/master environment: - sdk: ">=2.16.0 <3.0.0" + sdk: ">=2.16.0 <4.0.0" flutter: ">=3.3.0" dependencies: diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 000000000..313a48fef --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,5 @@ +{ + "release-type": "dart", + "signoff": "Rex Raphael ", + "versioning-strategy": "always-bump-minor" +} \ No newline at end of file From 1b5cc66ea4f34c8e62577030db7a9295409c63cc Mon Sep 17 00:00:00 2001 From: Rex Raphael Date: Sun, 7 Jan 2024 20:27:31 -0600 Subject: [PATCH 5/7] fix: made a release and bumped version --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 0c8c7dbfa..2737139d3 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -43,7 +43,7 @@ jobs: - name: Run Release uses: google-github-actions/release-please-action@v4 with: - default-branch: main + target-branch: main token: ${{ secrets.GIT_TOKEN }} config-file: release-please-config.json # manifest-file: .release-please-manifest.json From 8ec70dabeb35c4c396c052191fa76c36237fa8f2 Mon Sep 17 00:00:00 2001 From: Rex Raphael Date: Sun, 7 Jan 2024 20:41:11 -0600 Subject: [PATCH 6/7] fix: made a release and bumped version --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 2737139d3..e721e1f28 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -44,7 +44,7 @@ jobs: uses: google-github-actions/release-please-action@v4 with: target-branch: main - token: ${{ secrets.GIT_TOKEN }} +# token: ${{ secrets.GIT_TOKEN }} config-file: release-please-config.json # manifest-file: .release-please-manifest.json From dc28008914ae01c95ad0f9d4256f23cc12ff565e Mon Sep 17 00:00:00 2001 From: Rex Raphael Date: Sun, 7 Jan 2024 20:48:00 -0600 Subject: [PATCH 7/7] fix: made a release and bumped version --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e721e1f28..da79b051a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -46,5 +46,5 @@ jobs: target-branch: main # token: ${{ secrets.GIT_TOKEN }} config-file: release-please-config.json -# manifest-file: .release-please-manifest.json + manifest-file: .release-please-manifest.json