From 43334d708aa4c2215d25295c1df6a282fd227dc3 Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Mon, 15 Jan 2024 20:24:44 +0530 Subject: [PATCH 01/13] Update upscayl-version.ts --- src/lib/constants/upscayl-version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/constants/upscayl-version.ts b/src/lib/constants/upscayl-version.ts index 0ea8705..78132ce 100644 --- a/src/lib/constants/upscayl-version.ts +++ b/src/lib/constants/upscayl-version.ts @@ -1 +1 @@ -export const UPSCAYL_VERSION = '2.9.5'; +export const UPSCAYL_VERSION = '2.9.6'; From fa667c775e692d09b985a6be1c0b9f205457715f Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Mon, 15 Jan 2024 22:23:39 +0530 Subject: [PATCH 02/13] Add ZIP --- src/lib/components/DownloadSection.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/components/DownloadSection.svelte b/src/lib/components/DownloadSection.svelte index 3e03aa7..0a72bd0 100644 --- a/src/lib/components/DownloadSection.svelte +++ b/src/lib/components/DownloadSection.svelte @@ -158,6 +158,11 @@ target="_blank" rel="noreferrer noopener">EXE Installer + Portable ZIP From 2eacc8b266401e621710a3e591dbe21153998e83 Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Mon, 15 Jan 2024 23:49:38 +0530 Subject: [PATCH 03/13] Create update-version.yml --- .github/workflows/update-version.yml | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/update-version.yml diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml new file mode 100644 index 0000000..610bb45 --- /dev/null +++ b/.github/workflows/update-version.yml @@ -0,0 +1,48 @@ +name: Update Upscayl Version + +on: + release: + types: + - created + +jobs: + update-version: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 + cache: npm + + - name: Install dependencies + run: npm install + + - name: Get latest release version + id: get-version + run: | + latest_version=$(curl -s https://api.github.com/repos/upscayl/upscayl/releases/latest | jq -r .tag_name) + echo "Latest version is $latest_version" + echo "::set-output name=version::$latest_version" + + - name: Update version in file + run: echo "export const UPSCAYL_VERSION = '$(echo ${{ steps.get-version.outputs.version }})';" > src/lib/constants/upscayl-version.ts + + - name: Commit changes + run: | + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + git add src/lib/constants/upscayl-version.ts + git commit -m "Update Upscayl version to ${{ steps.get-version.outputs.version }}" + + - name: Push changes + uses: ad-m/github-push-action@v0.9.2 + with: + branch: ${{ github.ref }} + force: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From c6b7eb4f8e386fab76e6902f91f26e41a4c8abaf Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Tue, 16 Jan 2024 00:34:46 +0530 Subject: [PATCH 04/13] Update update-version.yml --- .github/workflows/update-version.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml index 610bb45..bebd71a 100644 --- a/.github/workflows/update-version.yml +++ b/.github/workflows/update-version.yml @@ -2,9 +2,7 @@ name: Update Upscayl Version on: release: - types: - - created - + workflow_dispatch jobs: update-version: runs-on: ubuntu-latest From 190616c56eee183964cb7893dc235dcc66216cc3 Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Tue, 16 Jan 2024 00:35:20 +0530 Subject: [PATCH 05/13] Update update-version.yml --- .github/workflows/update-version.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml index bebd71a..4a811f9 100644 --- a/.github/workflows/update-version.yml +++ b/.github/workflows/update-version.yml @@ -1,8 +1,6 @@ name: Update Upscayl Version -on: - release: - workflow_dispatch +on: workflow_dispatch jobs: update-version: runs-on: ubuntu-latest From dbc08854088c414e986349e976a282ea43cc16ec Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Tue, 16 Jan 2024 00:36:33 +0530 Subject: [PATCH 06/13] Update update-version.yml --- .github/workflows/update-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml index 4a811f9..60649ef 100644 --- a/.github/workflows/update-version.yml +++ b/.github/workflows/update-version.yml @@ -36,7 +36,7 @@ jobs: git commit -m "Update Upscayl version to ${{ steps.get-version.outputs.version }}" - name: Push changes - uses: ad-m/github-push-action@v0.9.2 + uses: ad-m/github-push-action@v0.8.0 with: branch: ${{ github.ref }} force: true From 851a15a86bf57162cb2fca51e7a86b82b403e0bc Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Mon, 15 Jan 2024 19:06:59 +0000 Subject: [PATCH 07/13] Update Upscayl version to v2.9.7 --- src/lib/constants/upscayl-version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/constants/upscayl-version.ts b/src/lib/constants/upscayl-version.ts index 78132ce..a23e92a 100644 --- a/src/lib/constants/upscayl-version.ts +++ b/src/lib/constants/upscayl-version.ts @@ -1 +1 @@ -export const UPSCAYL_VERSION = '2.9.6'; +export const UPSCAYL_VERSION = 'v2.9.7'; From e59bc088c7b5712c1dff55abeb420935017c559b Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Tue, 16 Jan 2024 00:38:17 +0530 Subject: [PATCH 08/13] Update update-version.yml --- .github/workflows/update-version.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml index 60649ef..7fe5996 100644 --- a/.github/workflows/update-version.yml +++ b/.github/workflows/update-version.yml @@ -9,15 +9,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: npm - - - name: Install dependencies - run: npm install - - name: Get latest release version id: get-version run: | From 6f4297bc1158a516860887899d9765e774b1435b Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Tue, 16 Jan 2024 00:39:35 +0530 Subject: [PATCH 09/13] Update deploy.yml --- .github/workflows/deploy.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cf11df5..06fa82e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,6 +3,7 @@ name: Deploy to GitHub Pages on: push: branches: 'main' + workflow_dispatch: jobs: build_site: @@ -26,6 +27,31 @@ jobs: - name: Install dependencies run: npm install + - name: Get latest release version + id: get-version + run: | + latest_version=$(curl -s https://api.github.com/repos/upscayl/upscayl/releases/latest | jq -r .tag_name) + echo "Latest version is $latest_version" + echo "::set-output name=version::$latest_version" + + - name: Update version in file + run: echo "export const UPSCAYL_VERSION = '$(echo ${{ steps.get-version.outputs.version }})';" > src/lib/constants/upscayl-version.ts + + - name: Commit changes + run: | + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + git add src/lib/constants/upscayl-version.ts + git commit -m "Update Upscayl version to ${{ steps.get-version.outputs.version }}" + + - name: Push changes + uses: ad-m/github-push-action@v0.8.0 + with: + branch: ${{ github.ref }} + force: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: build env: BASE_PATH: '' From bd0257ce01854f8772d7080a8e0bfa767747abe7 Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Tue, 16 Jan 2024 00:43:52 +0530 Subject: [PATCH 10/13] Update deploy script --- .github/workflows/deploy.yml | 2 +- .github/workflows/update-version.yml | 35 ---------------------------- 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 .github/workflows/update-version.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 06fa82e..8ae40b0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,7 +30,7 @@ jobs: - name: Get latest release version id: get-version run: | - latest_version=$(curl -s https://api.github.com/repos/upscayl/upscayl/releases/latest | jq -r .tag_name) + latest_version=$(curl -s https://api.github.com/repos/upscayl/upscayl/releases/latest | jq -r .name) echo "Latest version is $latest_version" echo "::set-output name=version::$latest_version" diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml deleted file mode 100644 index 7fe5996..0000000 --- a/.github/workflows/update-version.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Update Upscayl Version - -on: workflow_dispatch -jobs: - update-version: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Get latest release version - id: get-version - run: | - latest_version=$(curl -s https://api.github.com/repos/upscayl/upscayl/releases/latest | jq -r .tag_name) - echo "Latest version is $latest_version" - echo "::set-output name=version::$latest_version" - - - name: Update version in file - run: echo "export const UPSCAYL_VERSION = '$(echo ${{ steps.get-version.outputs.version }})';" > src/lib/constants/upscayl-version.ts - - - name: Commit changes - run: | - git config user.name "${{ github.actor }}" - git config user.email "${{ github.actor }}@users.noreply.github.com" - git add src/lib/constants/upscayl-version.ts - git commit -m "Update Upscayl version to ${{ steps.get-version.outputs.version }}" - - - name: Push changes - uses: ad-m/github-push-action@v0.8.0 - with: - branch: ${{ github.ref }} - force: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 9150c0f729cab91d8907c0cb99e823e258853d5a Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Mon, 15 Jan 2024 19:14:16 +0000 Subject: [PATCH 11/13] Update Upscayl version to null --- src/lib/constants/upscayl-version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/constants/upscayl-version.ts b/src/lib/constants/upscayl-version.ts index a23e92a..a61e240 100644 --- a/src/lib/constants/upscayl-version.ts +++ b/src/lib/constants/upscayl-version.ts @@ -1 +1 @@ -export const UPSCAYL_VERSION = 'v2.9.7'; +export const UPSCAYL_VERSION = 'null'; From 1a1e79781cdf0beb841004ed8e08e9d52a7f1c69 Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Mon, 15 Jan 2024 19:16:48 +0000 Subject: [PATCH 12/13] Update Upscayl version to 2.9.7 --- src/lib/constants/upscayl-version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/constants/upscayl-version.ts b/src/lib/constants/upscayl-version.ts index a61e240..3c1e839 100644 --- a/src/lib/constants/upscayl-version.ts +++ b/src/lib/constants/upscayl-version.ts @@ -1 +1 @@ -export const UPSCAYL_VERSION = 'null'; +export const UPSCAYL_VERSION = '2.9.7'; From 482a339646ab106bcbdcc03f9f967e291e647c15 Mon Sep 17 00:00:00 2001 From: NayamAmarshe Date: Tue, 16 Jan 2024 10:00:01 +0000 Subject: [PATCH 13/13] Update Upscayl version to 2.9.8 --- src/lib/constants/upscayl-version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/constants/upscayl-version.ts b/src/lib/constants/upscayl-version.ts index 3c1e839..221fb74 100644 --- a/src/lib/constants/upscayl-version.ts +++ b/src/lib/constants/upscayl-version.ts @@ -1 +1 @@ -export const UPSCAYL_VERSION = '2.9.7'; +export const UPSCAYL_VERSION = '2.9.8';