Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
ByronHsu committed Aug 8, 2024
1 parent 3e5088e commit 58bdf54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- name: Update package name and version
run: |
VERSION=$(python setup.py --version)
COMMIT_ID=$(git rev-parse HEAD)
NEW_VERSION="$COMMIT_ID"
DATE=$(date +%Y%m%d%H%M%S)
NEW_VERSION="$VERSION.dev$DATE"
sed -i "s/name=\"liger_kernel\"/name=\"liger_kernel_nightly\"/" setup.py
sed -i "s/__version__ = \"$VERSION\"/__version__ = \"$NEW_VERSION\"/" setup.py
Expand Down

0 comments on commit 58bdf54

Please sign in to comment.