Skip to content

Commit

Permalink
Added goreleaser check (#2636)
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieMc0 authored and lumtis committed Aug 6, 2024
1 parent ef554d4 commit 2642ac9
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 2642ac9

Please sign in to comment.