Skip to content

Commit

Permalink
Added goreleaser check
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieMc0 committed Aug 5, 2024
1 parent 3b0431e commit c284bb0
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,26 @@ concurrency:
cancel-in-progress: false

jobs:
check_branch:
check-branch:
if: ${{ (startsWith(github.ref, 'refs/heads/release/v') || startsWith(github.ref, 'refs/heads/hotfix/v')) }}
runs-on: ubuntu-22.04
steps:
- name: Branch
run: |
echo "${{ github.ref }}"
check-goreleaser:
needs:
- check-branch
runs-on: ubuntu-22.04
steps:
- name: Branch
run: |
make release-dry-run
check-changelog:
needs:
- check_branch
- check-branch
runs-on: ubuntu-22.04
steps:

Expand Down Expand Up @@ -75,7 +84,7 @@ jobs:
check-upgrade-handler-updated:
needs:
- check_branch
- check-branch
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
Expand Down Expand Up @@ -114,7 +123,7 @@ jobs:
needs:
- check-changelog
- check-upgrade-handler-updated
- check_branch
- check-branch
runs-on: ubuntu-22.04
timeout-minutes: 60
environment: release
Expand Down

0 comments on commit c284bb0

Please sign in to comment.