From 774778d3b44f39cb3226892bbec293c0c14bd04b Mon Sep 17 00:00:00 2001 From: pehlicd <65170388+pehlicd@users.noreply.github.com> Date: Fri, 29 Nov 2024 17:52:30 +0100 Subject: [PATCH] fix: release workflow is not working Signed-off-by: pehlicd <65170388+pehlicd@users.noreply.github.com> --- .github/workflows/release.yml | 38 +++++++++++++++++------------------ ui/package.json | 4 ++-- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30e1d27..6274033 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,8 +3,6 @@ name: release on: push: tags: ['v*.*.*'] - branches: - - fix-release-workflow-swc-error workflow_dispatch: inputs: version: @@ -18,26 +16,26 @@ permissions: issues: write jobs: - # goreleaser: - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # with: - # fetch-depth: 0 - # - run: git fetch --force --tags - # - uses: actions/setup-go@v5 - # with: - # go-version: '1.23' - # - uses: goreleaser/goreleaser-action@v5 - # with: - # distribution: goreleaser - # version: latest - # args: release --clean - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + goreleaser: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - run: git fetch --force --tags + - uses: actions/setup-go@v5 + with: + go-version: '1.23' + - uses: goreleaser/goreleaser-action@v5 + with: + distribution: goreleaser + version: latest + args: release --clean + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} containerize: runs-on: ubuntu-latest - # needs: goreleaser + needs: goreleaser steps: - name: Checkout uses: actions/checkout@v4 diff --git a/ui/package.json b/ui/package.json index c28825b..b9be3c8 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "rbac-wizard", - "version": "0.0.5", + "version": "0.0.6", "private": true, "scripts": { "dev": "next dev", @@ -53,4 +53,4 @@ "devDependencies": { "@types/d3": "^7.4.3" } -} +} \ No newline at end of file