Skip to content

Commit

Permalink
fix: release workflow is not working
Browse files Browse the repository at this point in the history
Signed-off-by: pehlicd <65170388+pehlicd@users.noreply.github.com>
  • Loading branch information
pehlicd committed Nov 29, 2024
1 parent 9cec027 commit 774778d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 22 deletions.
38 changes: 18 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: release
on:
push:
tags: ['v*.*.*']
branches:
- fix-release-workflow-swc-error
workflow_dispatch:
inputs:
version:
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rbac-wizard",
"version": "0.0.5",
"version": "0.0.6",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down Expand Up @@ -53,4 +53,4 @@
"devDependencies": {
"@types/d3": "^7.4.3"
}
}
}

0 comments on commit 774778d

Please sign in to comment.