From c4f0512f39b5eb474531b8ed9bf70a8143bf4c4d Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 31 Mar 2024 03:06:58 +0200 Subject: [PATCH 1/2] Run another composer, and dump the autoload files. --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2c2aa6a80..c4b0a1742b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -141,6 +141,11 @@ jobs: git config user.email 41898282+github-actions[bot]@users.noreply.github.com git config advice.addIgnoredFile false + # update composer (again) + composer validate --strict + composer update --no-dev --no-scripts --no-plugins + composer dump-autoload + releaseName=$version zipName=FireflyIII-$version.zip tarName=FireflyIII-$version.tar.gz From e8dffa0052c112fa17fee13eaec27b4a733d6786 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 31 Mar 2024 03:09:00 +0200 Subject: [PATCH 2/2] Update script version --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4b0a1742b..92a31c48be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,7 +51,7 @@ jobs: CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }} - name: Cleanup translations id: cleanup-transactions - uses: JC5/firefly-iii-dev@v34 + uses: JC5/firefly-iii-dev@v36 with: action: 'ff3:crowdin-warning' output: '' @@ -60,7 +60,7 @@ jobs: GH_TOKEN: '' - name: Cleanup changelog id: cleanup-changelog - uses: JC5/firefly-iii-dev@v34 + uses: JC5/firefly-iii-dev@v36 with: action: 'ff3:changelog' output: '' @@ -69,7 +69,7 @@ jobs: GH_TOKEN: ${{ secrets.CHANGELOG_TOKEN }} - name: Extract changelog id: extract-changelog - uses: JC5/firefly-iii-dev@v34 + uses: JC5/firefly-iii-dev@v36 with: action: 'ff3:extract-changelog' output: 'output' @@ -78,7 +78,7 @@ jobs: GH_TOKEN: "" - name: Replace version id: replace-version - uses: JC5/firefly-iii-dev@v34 + uses: JC5/firefly-iii-dev@v36 with: action: 'ff3:version' output: '' @@ -88,7 +88,7 @@ jobs: FF_III_VERSION: ${{ github.event_name == 'schedule' && 'develop' || github.event.inputs.version }} - name: Generate JSON v1 id: json-v1 - uses: JC5/firefly-iii-dev@v34 + uses: JC5/firefly-iii-dev@v36 with: action: 'ff3:json-translations v1' output: '' @@ -97,7 +97,7 @@ jobs: GH_TOKEN: '' - name: Generate JSON v2 id: json-v2 - uses: JC5/firefly-iii-dev@v34 + uses: JC5/firefly-iii-dev@v36 with: action: 'ff3:json-translations v2' output: '' @@ -106,7 +106,7 @@ jobs: GH_TOKEN: '' - name: Code cleanup id: code-cleanup - uses: JC5/firefly-iii-dev@v34 + uses: JC5/firefly-iii-dev@v36 with: action: 'ff3:code' output: '' @@ -120,7 +120,7 @@ jobs: npm run build - name: Build old JS id: old-js - uses: JC5/firefly-iii-dev@v34 + uses: JC5/firefly-iii-dev@v36 with: action: 'ff3:old-js' output: ''