Skip to content

Commit 340798d

Browse files
committed
fix: release workflow needs to start on main
The release workflow is currently broken because it checks out the release-* branch and attempts to run an action from there, this action does not exist in the release-* branch and should instead be using the version from main.
1 parent 0e7b1cb commit 340798d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
- uses: actions/checkout@v6
2727
with:
2828
submodules: true
29-
fetch-depth: 0
30-
ref: release-${{ inputs.version }}
3129
token: ${{ secrets.RHACS_BOT_GITHUB_TOKEN }}
3230

3331
- uses: ./.github/actions/validate-version
@@ -38,6 +36,7 @@ jobs:
3836
- name: Determine patch version
3937
id: patch
4038
run: |
39+
git checkout release-"${VERSION}"
4140
last_tag="$(git describe --tags --abbrev=0)"
4241
4342
if [[ "$last_tag" =~ ^"${VERSION}"\.x$ ]]; then

0 commit comments

Comments
 (0)