Skip to content

Commit bc9b1c0

Browse files
authored
Fix release workflow (#35)
This couldn't be tested before it was on `main`, and the version check does not make sense for a non-release. Manually triggering the [release workflow](https://github.com/Aleph-Alpha-Research/eval-framework/actions/workflows/release.yml) works now as expected: [CI run](https://github.com/Aleph-Alpha-Research/eval-framework/actions/runs/17428745825) and corresponding [test release on pypi](https://test.pypi.org/project/eval-framework/)
1 parent 06b6789 commit bc9b1c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
version: "~=0.8.10"
2020

2121
- name: Check tag
22+
# For test releases, we allow any version
23+
if: github.event_name == 'release'
2224
shell: bash
2325
run: |
2426
PACKAGE_VERSION=$(uv version --short)
@@ -88,5 +90,5 @@ jobs:
8890
packages-dir: dist/
8991
# Test release platform for now
9092
repository-url: https://test.pypi.org/legacy/
91-
skip-existing: true
93+
skip-existing: false
9294
print-hash: true

0 commit comments

Comments
 (0)