Skip to content

Commit 03cea75

Browse files
author
a.b.christie
committed
ci: Fix build outside tag
1 parent 9c9c270 commit 03cea75

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
python3 -m pip install uv==0.10.6 --user
3131
- name: Build
3232
run: uv build
33+
env:
34+
FRAG_VERSION: ${{ github.ref_name }}
3335
- name: Store the distribution
3436
uses: actions/upload-artifact@v5
3537
with:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name="xchem-frag",
15-
version=environ.get("GITHUB_REF_NAME", "1.0.0"),
15+
version=environ.get("FRAG_VERSION", "0.0.0"),
1616
description="Library for fragment based analysis",
1717
long_description=long_description,
1818
# The project's main homepage.

0 commit comments

Comments
 (0)