From 12200230005ae6fb6405fc13ffc0ab68cc75cd29 Mon Sep 17 00:00:00 2001 From: cicifus - sprig sdk bot <139509356+cicifus@users.noreply.github.com> Date: Wed, 24 Sep 2025 17:12:53 -0700 Subject: [PATCH 01/12] Update release.yaml changed checkout action --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 796929e..646b678 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,9 +8,9 @@ jobs: make-release: runs-on: macOS-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: - token: ${{ secrets.GH_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Get Version id: get-version From 9d95b60718b996863c8986b299411d9164386510 Mon Sep 17 00:00:00 2001 From: cicifus - sprig sdk bot <139509356+cicifus@users.noreply.github.com> Date: Wed, 24 Sep 2025 17:21:39 -0700 Subject: [PATCH 02/12] Update release.yaml ubuntu-latest --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 646b678..b098bba 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,7 +6,7 @@ on: - "main" jobs: make-release: - runs-on: macOS-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: From 6ca72e31dee487a7b6199c04ea86840451abc707 Mon Sep 17 00:00:00 2001 From: cicifus - sprig sdk bot <139509356+cicifus@users.noreply.github.com> Date: Wed, 24 Sep 2025 17:42:38 -0700 Subject: [PATCH 03/12] Update release.yaml V3 and GITHUB_TOKEN --- .github/workflows/release.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b098bba..ac32e7a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,9 +6,9 @@ on: - "main" jobs: make-release: - runs-on: ubuntu-latest + runs-on: macOS-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -16,9 +16,5 @@ jobs: id: get-version run: echo "version=$(grep -o "[0-9]\+\.[0-9]\+\.[0-9]\+" ../ios/sprig_flutter_plugin.podspec)" >> $GITHUB_OUTPUT - - name: Create or update tag - uses: rickstaa/action-create-tag@v1 - with: - tag: ${{ steps.get-version.outputs.version }} - message: "Release ${{ steps.get-version.outputs.version }}" # Optional: A message for the tag - github_token: ${{ secrets.GITHUB_TOKEN }} # Required for authentication + - name: Create Tag + run: bash ./scripts/tag-and-release.sh tag ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }} From d613037a223cd448fc43042bbe467585d30ad662 Mon Sep 17 00:00:00 2001 From: cicifus - sprig sdk bot <139509356+cicifus@users.noreply.github.com> Date: Wed, 24 Sep 2025 17:53:18 -0700 Subject: [PATCH 04/12] Update release.yaml Change path to podspec --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ac32e7a..2457e5f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,7 +14,7 @@ jobs: - name: Get Version id: get-version - run: echo "version=$(grep -o "[0-9]\+\.[0-9]\+\.[0-9]\+" ../ios/sprig_flutter_plugin.podspec)" >> $GITHUB_OUTPUT + run: echo "version=$(grep -o "[0-9]\+\.[0-9]\+\.[0-9]\+" ios/sprig_flutter_plugin.podspec)" >> $GITHUB_OUTPUT - name: Create Tag run: bash ./scripts/tag-and-release.sh tag ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }} From 0fccfc0a577b96bbb350444d0c53fa5cac6a1af9 Mon Sep 17 00:00:00 2001 From: cicifus - sprig sdk bot <139509356+cicifus@users.noreply.github.com> Date: Thu, 25 Sep 2025 09:54:02 -0700 Subject: [PATCH 05/12] Update release.yaml v4 commented tag --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2457e5f..57d690f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,7 +8,7 @@ jobs: make-release: runs-on: macOS-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -16,5 +16,5 @@ jobs: id: get-version run: echo "version=$(grep -o "[0-9]\+\.[0-9]\+\.[0-9]\+" ios/sprig_flutter_plugin.podspec)" >> $GITHUB_OUTPUT - - name: Create Tag - run: bash ./scripts/tag-and-release.sh tag ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }} + #- name: Create Tag + # run: bash ./scripts/tag-and-release.sh tag ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }} From 2a23194ebeb31322d0597195690c89be1dd30a96 Mon Sep 17 00:00:00 2001 From: cicifus - sprig sdk bot <139509356+cicifus@users.noreply.github.com> Date: Thu, 25 Sep 2025 10:11:07 -0700 Subject: [PATCH 06/12] Update release.yaml -m 1 --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 57d690f..9e2c052 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,7 +14,7 @@ jobs: - name: Get Version id: get-version - run: echo "version=$(grep -o "[0-9]\+\.[0-9]\+\.[0-9]\+" ios/sprig_flutter_plugin.podspec)" >> $GITHUB_OUTPUT + run: echo "version=$(grep -m 1 -o "[0-9]\+\.[0-9]\+\.[0-9]\+" pubspec.yaml)" >> $GITHUB_OUTPUT #- name: Create Tag # run: bash ./scripts/tag-and-release.sh tag ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }} From a68430d1038671333e133fbc54c2a050fd9c43f5 Mon Sep 17 00:00:00 2001 From: cicifus - sprig sdk bot <139509356+cicifus@users.noreply.github.com> Date: Thu, 25 Sep 2025 10:14:07 -0700 Subject: [PATCH 07/12] Update release.yaml -o -m 1 --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9e2c052..4e39e69 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,7 +14,7 @@ jobs: - name: Get Version id: get-version - run: echo "version=$(grep -m 1 -o "[0-9]\+\.[0-9]\+\.[0-9]\+" pubspec.yaml)" >> $GITHUB_OUTPUT + run: echo "version=$(grep -o -m 1 "[0-9]\+\.[0-9]\+\.[0-9]\+" pubspec.yaml)" >> $GITHUB_OUTPUT #- name: Create Tag # run: bash ./scripts/tag-and-release.sh tag ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }} From 88d53e9bdd39d9e66c45d9c56527f510e4b1c605 Mon Sep 17 00:00:00 2001 From: cicifus - sprig sdk bot <139509356+cicifus@users.noreply.github.com> Date: Thu, 25 Sep 2025 10:19:17 -0700 Subject: [PATCH 08/12] Update release.yaml with output --- .github/workflows/release.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4e39e69..d77dcdc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,7 +14,11 @@ jobs: - name: Get Version id: get-version - run: echo "version=$(grep -o -m 1 "[0-9]\+\.[0-9]\+\.[0-9]\+" pubspec.yaml)" >> $GITHUB_OUTPUT + #run: echo "version=$(grep -o -m 1 "[0-9]\+\.[0-9]\+\.[0-9]\+" pubspec.yaml)" >> $GITHUB_OUTPUT + run: | + VERSION=$(grep -o "grep -o -m 1 "[0-9]\+\.[0-9]\+\.[0-9]\+" pubspec.yaml) + echo "version=$VERSION" >> $GITHUB_OUTPUT + echo "Found version: $VERSION" #- name: Create Tag # run: bash ./scripts/tag-and-release.sh tag ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }} From 311e79825b7358c71010d5ff0edd7af783adff7a Mon Sep 17 00:00:00 2001 From: cicifus - sprig sdk bot <139509356+cicifus@users.noreply.github.com> Date: Thu, 25 Sep 2025 10:23:37 -0700 Subject: [PATCH 09/12] Update release.yaml tag back --- .github/workflows/release.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d77dcdc..fb3799a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,11 +14,8 @@ jobs: - name: Get Version id: get-version - #run: echo "version=$(grep -o -m 1 "[0-9]\+\.[0-9]\+\.[0-9]\+" pubspec.yaml)" >> $GITHUB_OUTPUT - run: | - VERSION=$(grep -o "grep -o -m 1 "[0-9]\+\.[0-9]\+\.[0-9]\+" pubspec.yaml) - echo "version=$VERSION" >> $GITHUB_OUTPUT - echo "Found version: $VERSION" + run: echo "version=$(grep -o -m 1 "[0-9]\+\.[0-9]\+\.[0-9]\+" pubspec.yaml)" >> $GITHUB_OUTPUT - #- name: Create Tag - # run: bash ./scripts/tag-and-release.sh tag ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }} + + - name: Create Tag + run: bash ./scripts/tag-and-release.sh tag ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }} From 5240600c8455dfe5e103d72b66f6eaf56f1c569d Mon Sep 17 00:00:00 2001 From: cicifus - sprig sdk bot <139509356+cicifus@users.noreply.github.com> Date: Thu, 25 Sep 2025 10:35:17 -0700 Subject: [PATCH 10/12] Update release.yaml added release --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fb3799a..9aa839d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,6 +16,8 @@ jobs: id: get-version run: echo "version=$(grep -o -m 1 "[0-9]\+\.[0-9]\+\.[0-9]\+" pubspec.yaml)" >> $GITHUB_OUTPUT - - name: Create Tag run: bash ./scripts/tag-and-release.sh tag ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }} + + - name: Create release + run: bash ../scripts/tag-and-release.sh release ${{ secrets.GH_TOKEN }} ${{ steps.get-version.outputs.version }} From 775525cabb9d6699898ba687426bab079f9c3f5d Mon Sep 17 00:00:00 2001 From: cicifus - sprig sdk bot <139509356+cicifus@users.noreply.github.com> Date: Thu, 25 Sep 2025 10:43:02 -0700 Subject: [PATCH 11/12] Update release.yaml fixed release step path --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9aa839d..ee87fe9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,4 +20,4 @@ jobs: run: bash ./scripts/tag-and-release.sh tag ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }} - name: Create release - run: bash ../scripts/tag-and-release.sh release ${{ secrets.GH_TOKEN }} ${{ steps.get-version.outputs.version }} + run: bash ./scripts/tag-and-release.sh release ${{ secrets.GH_TOKEN }} ${{ steps.get-version.outputs.version }} From 44e4deae28f1e8d127fd40df850b4361b3604f59 Mon Sep 17 00:00:00 2001 From: cicifus - sprig sdk bot <139509356+cicifus@users.noreply.github.com> Date: Thu, 25 Sep 2025 10:50:33 -0700 Subject: [PATCH 12/12] Update release.yaml GITHUB_TOKEN --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ee87fe9..d1761a9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,4 +20,4 @@ jobs: run: bash ./scripts/tag-and-release.sh tag ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }} - name: Create release - run: bash ./scripts/tag-and-release.sh release ${{ secrets.GH_TOKEN }} ${{ steps.get-version.outputs.version }} + run: bash ./scripts/tag-and-release.sh release ${{ secrets.GITHUB_TOKEN }} ${{ steps.get-version.outputs.version }}