From be1f9eb5a684c40c11237fb8959007eeca08130f Mon Sep 17 00:00:00 2001 From: ransome1 Date: Fri, 27 Oct 2023 15:01:22 +0200 Subject: [PATCH] Bumped up version number, further improvemened Flathub workflows --- .github/workflows/code-scan.yml | 7 ------- .github/workflows/prepare-release.yml | 12 +++++++++++- release/app/package.json | 2 +- src/__tests__/__mock__/recurrence.txt | 16 ++++++++-------- 4 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.github/workflows/code-scan.yml b/.github/workflows/code-scan.yml index 5a97e2f4..52e9e898 100644 --- a/.github/workflows/code-scan.yml +++ b/.github/workflows/code-scan.yml @@ -7,13 +7,6 @@ jobs: snyk: runs-on: ubuntu-latest steps: - - name: Trigger Flathub build - uses: peter-evans/repository-dispatch@v2.1.2 - with: - token: ${{ secrets.TRIGGER_FLATHUB_BUILD }} - repository: ransome1/com.github.ransome1.sleek - event-type: trigger-flathub-build - client-payload: '{"commit_id": "${{ github.sha }}"}' - uses: actions/checkout@v2 - name: Install dependencies run: npm install diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index bb3ec431..48526076 100755 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -1,9 +1,19 @@ -name: Prepare release +name: Prepare releases on: push: tags: - '*' jobs: + trigger-flathub_build: + runs-on: ubuntu-latest + steps: + - name: Trigger Flathub build + uses: peter-evans/repository-dispatch@v2.1.2 + with: + token: ${{ secrets.TRIGGER_FLATHUB_BUILD }} + repository: ransome1/com.github.ransome1.sleek + event-type: trigger-flathub-build + client-payload: '{"commit_id": "${{ github.sha }}"}' macos: name: MacOS (Prepare release) runs-on: ${{ matrix.os }} diff --git a/release/app/package.json b/release/app/package.json index 6749a8b3..f018eac7 100644 --- a/release/app/package.json +++ b/release/app/package.json @@ -1,6 +1,6 @@ { "name": "sleek", - "version": "2.0.0", + "version": "2.0.0-dev18", "description": "todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)", "synopsis": "todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)", "keywords": [ diff --git a/src/__tests__/__mock__/recurrence.txt b/src/__tests__/__mock__/recurrence.txt index fa4e0b55..85559ed4 100644 --- a/src/__tests__/__mock__/recurrence.txt +++ b/src/__tests__/__mock__/recurrence.txt @@ -1,11 +1,11 @@ -2023-10-24 Line 1 rec:1d due:2023-10-25 -2023-10-24 Line 1 rec:w due:2023-10-31 -2023-10-24 Line 1 rec:2m due:2023-12-24 -2023-10-24 Line 1 rec:+1d due:2023-10-26 -2023-10-24 Line 1 rec:7w due:2023-12-12 +2023-10-27 Line 1 rec:1d due:2023-10-28 +2023-10-27 Line 1 rec:w due:2023-11-03 +2023-10-27 Line 1 rec:2m due:2023-12-27 +2023-10-27 Line 1 rec:+1d due:2023-10-29 +2023-10-27 Line 1 rec:7w due:2023-12-15 2023-07-21 Line 1 due:2023-07-24 rec:+1b 2021-01-01 taxes are due in one year t:2022-03-30 due:2022-04-30 rec:+1y -2023-10-24 Water plants @home +quick due:2023-10-31 t:2023-10-21 rec:1w -2023-10-24 Line 1 rec:+1d t:2023-09-20 due:2023-10-25 -(A) 2023-10-24 Line 1 rec:1d pri:A due:2023-10-25 \ No newline at end of file +2023-10-27 Water plants @home +quick due:2023-11-03 t:2023-10-24 rec:1w +2023-10-27 Line 1 rec:+1d t:2023-09-20 due:2023-10-28 +(A) 2023-10-27 Line 1 rec:1d pri:A due:2023-10-28 \ No newline at end of file