Skip to content

Commit

Permalink
πŸ’š Add version.py file with release and date functions
Browse files Browse the repository at this point in the history
  • Loading branch information
fbriol committed Feb 26, 2024
1 parent d30d3db commit f4d04be
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- run: python setup.py 2>/dev/null||echo
- run: |
cat <<EOF > src/pyinterp/version.py
def release():
return "0.0.0"
def date():
return "01 January 2000"
EOF
- uses: pre-commit/[email protected]

0 comments on commit f4d04be

Please sign in to comment.