Skip to content

Commit b92b46d

Browse files
Fix publish action / just command
1 parent 4a48436 commit b92b46d

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
- name: 🛎️ Checkout
3737
uses: actions/checkout@v4
3838

39+
- name: 🚀 Install just
40+
uses: extractions/setup-just@v2
41+
3942
- name: 🏗️ Build distribution
4043
run: uv build
4144

Justfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ serve-docs:
5151

5252
# --------------------------------------------------
5353
# Publishing
54-
publish VERSION_TAG:
55-
# Use it like: make publish VERSION_TAG=0.0.1
54+
publish new_version:
55+
# just publish new_version=0.0.1
5656
# The __version__ variable in src/ml3_drift/__init__.py must be updated manually as of now.
5757
# The build tool retrieves it from there.
5858
# We'll fix this soon :)
59-
git tag -a v{{VERSION_TAG}} -m "Release v{{VERSION_TAG}}"
60-
git push origin v{{VERSION_TAG}}
59+
git tag -a v{{ new_version }} -m "Release v{{ new_version }}"
60+
git push origin v{{ new_version }}

0 commit comments

Comments
 (0)