Skip to content

Commit 41011dc

Browse files
authored
fix: release workflow needs to start on main (#858)
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 a0cb072 commit 41011dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
with:
2828
submodules: true
2929
fetch-depth: 0
30-
ref: release-${{ inputs.version }}
3130
token: ${{ secrets.RHACS_BOT_GITHUB_TOKEN }}
3231

3332
- uses: ./.github/actions/validate-version
@@ -38,6 +37,7 @@ jobs:
3837
- name: Determine patch version
3938
id: patch
4039
run: |
40+
git checkout release-"${VERSION}"
4141
last_tag="$(git describe --tags --abbrev=0)"
4242
4343
if [[ "$last_tag" =~ ^"${VERSION}"\.x$ ]]; then

0 commit comments

Comments
 (0)