From d41c49336daba14760dca0b47e76d8ed7d2237df Mon Sep 17 00:00:00 2001 From: Radu-Cristian Popa Date: Tue, 20 Aug 2024 11:07:43 +0300 Subject: [PATCH 1/2] Fix manifest path --- .github/actions/get-built-version.cjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/get-built-version.cjs b/.github/actions/get-built-version.cjs index 511cb6db..299578a8 100644 --- a/.github/actions/get-built-version.cjs +++ b/.github/actions/get-built-version.cjs @@ -1,6 +1,5 @@ // @ts-check /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-var-requires */ -const path = require('node:path') const fs = require('node:fs/promises') /** @@ -8,8 +7,9 @@ const fs = require('node:fs/promises') * @param {import('github-script').AsyncFunctionArguments} AsyncFunctionArguments */ module.exports = async ({ core }) => { - const manifestPath = path.join(__dirname, 'dist', 'chrome', 'manifest.json') - const manifest = await fs.readFile(manifestPath, 'utf8').then(JSON.parse) + const manifest = await fs + .readFile('./dist/chrome/manifest.json', 'utf8') + .then(JSON.parse) core.setOutput('version', manifest.version) } From 01218d1e060513d6b98db442d9649667f631980a Mon Sep 17 00:00:00 2001 From: Radu-Cristian Popa Date: Tue, 20 Aug 2024 11:19:44 +0300 Subject: [PATCH 2/2] Update release body --- .github/workflows/nightly-build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/nightly-build.yaml b/.github/workflows/nightly-build.yaml index 362d858c..7e32b74d 100644 --- a/.github/workflows/nightly-build.yaml +++ b/.github/workflows/nightly-build.yaml @@ -48,4 +48,7 @@ jobs: dist/*.zip tag_name: 'nightly' name: Nightly ${{ steps.version.outputs.version }} + body: | + > [!warning] + > The Nightly build is for adventurous folks. It's updated daily with less-tested features and improvements. prerelease: true