From c1469f016e9961cafd08c989d9801c43e3a0b2a2 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 3 Feb 2024 20:00:41 +0100 Subject: [PATCH] Add version to develop branch. --- .github/workflows/release.yml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 65f1ab33de..5c7c77fc5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: required: true default: 'develop' schedule: - - cron: '15 0 * * MON,THU' + - cron: '15 0 * * *' jobs: build: @@ -51,7 +51,7 @@ jobs: CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }} - name: Cleanup translations id: cleanup-transactions - uses: JC5/firefly-iii-dev@v30 + uses: JC5/firefly-iii-dev@v32 with: action: 'ff3:crowdin-warning' output: '' @@ -60,7 +60,7 @@ jobs: GH_TOKEN: '' - name: Cleanup changelog id: cleanup-changelog - uses: JC5/firefly-iii-dev@v30 + uses: JC5/firefly-iii-dev@v32 with: action: 'ff3:changelog' output: '' @@ -69,16 +69,26 @@ jobs: GH_TOKEN: ${{ secrets.CHANGELOG_TOKEN }} - name: Extract changelog id: extract-changelog - uses: JC5/firefly-iii-dev@v30 + uses: JC5/firefly-iii-dev@v32 with: action: 'ff3:extract-changelog' output: 'output' env: FIREFLY_III_ROOT: /github/workspace GH_TOKEN: "" + - name: Replace version + id: replace-version + uses: JC5/firefly-iii-dev@v32 + with: + action: 'ff3:version' + output: '' + env: + FIREFLY_III_ROOT: /github/workspace + GH_TOKEN: "" + FF_III_VERSION: ${{ github.event_name == 'schedule' && 'develop' || github.event.inputs.version }} - name: Generate JSON v1 id: json-v1 - uses: JC5/firefly-iii-dev@v30 + uses: JC5/firefly-iii-dev@v32 with: action: 'ff3:json-translations v1' output: '' @@ -87,7 +97,7 @@ jobs: GH_TOKEN: '' - name: Generate JSON v2 id: json-v2 - uses: JC5/firefly-iii-dev@v30 + uses: JC5/firefly-iii-dev@v32 with: action: 'ff3:json-translations v2' output: '' @@ -96,7 +106,7 @@ jobs: GH_TOKEN: '' - name: Code cleanup id: code-cleanup - uses: JC5/firefly-iii-dev@v30 + uses: JC5/firefly-iii-dev@v32 with: action: 'ff3:code' output: '' @@ -109,7 +119,7 @@ jobs: npm run build - name: Build old JS id: old-js - uses: JC5/firefly-iii-dev@v30 + uses: JC5/firefly-iii-dev@v32 with: action: 'ff3:old-js' output: ''