This commit is contained in:
Xi Yan 2025-01-08 17:17:47 -08:00
parent 8ffdff1c7a
commit 8640a30e6a

View file

@ -25,7 +25,7 @@ jobs:
# if: github.event_name == 'schedule'
run: |
# Assuming your version is in setup.py or pyproject.toml
sed -i 's/version="\([^"]*\)"/version="\1rc${{ steps.date.outputs.date }}${{ steps.sha.outputs.sha }}"/' setup.py
sed -i 's/version="\([^"]*\)"/version="\1rc${{ steps.date.outputs.date }}+${{ steps.sha.outputs.sha }}"/' setup.py
- name: Set up Python
uses: actions/setup-python@v5
with: