From c98c7cae89a2f894dd4cf15000c29d44547f3862 Mon Sep 17 00:00:00 2001 From: Daniel Dye Date: Fri, 18 Oct 2024 16:08:12 +0100 Subject: [PATCH] Fix GA release permissions --- .github/workflows/build_and_release.yml | 2 ++ constants.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index 5d80139..c51f2b1 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -64,6 +64,8 @@ jobs: release: runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/') + permissions: + contents: write needs: - build steps: diff --git a/constants.ts b/constants.ts index b7fcd22..c03fda3 100644 --- a/constants.ts +++ b/constants.ts @@ -1,4 +1,4 @@ -export const version = "0.3.1"; +export const version = "0.3.2"; export const homePath = `${Deno.env.get("HOME")}/.drenv`; export const versionsPath = `${homePath}/versions`; export const binPath = `${homePath}/bin`;