Skip to content

Commit 6a2a39e

Browse files
authored
Merge pull request #417 from AllenNeuralDynamics/cicd-fix-uv-bump
Fix an issue where bumps were not allowed from stable versions
2 parents aa54002 + 87d1c0c commit 6a2a39e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/vr-foraging-cicd.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,13 @@ jobs:
9292
enable-cache: true
9393

9494
- name: Bump pre-release by default
95-
run: uv version --bump rc
96-
95+
shell: bash
96+
run: |
97+
if uv version --bump rc --dry-run; then
98+
uv version --bump rc
99+
else
100+
uv version --bump rc --bump patch
101+
fi
97102
- name: Regenerate schemas
98103
run: uv run vr-foraging regenerate
99104

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# aind-vr-foraging
22

3-
![CI](https://github.com/AllenNeuralDynamics/Aind.Behavior.VrForaging/actions/workflows/ci.yml/badge.svg)
3+
![CI](https://github.com/AllenNeuralDynamics/Aind.Behavior.VrForaging/actions/workflows/vr-foraging-cicd.yml/badge.svg)
44
[![PyPI - Version](https://img.shields.io/pypi/v/aind-behavior-vr-foraging)](https://pypi.org/project/aind-behavior-vr-foraging/)
55
[![License](https://img.shields.io/badge/license-MIT-brightgreen)](LICENSE)
66
[![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

0 commit comments

Comments
 (0)