Skip to content

Commit

Permalink
Fix fallback input for release action
Browse files Browse the repository at this point in the history
Apparently the way submodules repos are configured leads to the branches not being mirrored locally (?) As such, the release job's fallback of checking out `'master'` fails whether triggered[^1] or scheduled[^2].

[^1]: https://github.com/ua-parser/uap-python/actions/runs/13090871627
[^2]: https://github.com/ua-parser/uap-python/actions/runs/13092233962
  • Loading branch information
masklinn authored Feb 15, 2025
1 parent 1b64406 commit 4dafb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-builtins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
persist-credentials: false
- name: update core
env:
TAG: ${{ inputs.tag || 'master '}}
TAG: ${{ inputs.tag || 'origin/master '}}
# needs to detach because we can update to a tag
run: git -C uap-core switch --detach "$TAG"
- name: Set up Python
Expand Down

0 comments on commit 4dafb38

Please sign in to comment.