Skip to content

Commit

Permalink
Combine gen_version and publish workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tcevaer committed Oct 30, 2023
1 parent cfa76d1 commit 5e347b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/gen_version.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install setuptools_scm
run: pip install setuptools_scm
- name: Write version to file
run: python -c "import setuptools_scm; print(f'__version__ = \\'{setuptools_scm.get_version()}\\'', file=open('coloc_sat/version.py', 'w'))"
- name: Install system packages
run: sudo apt-get install -y libgdal-dev
- name: Setup Environment Variables
Expand Down

0 comments on commit 5e347b9

Please sign in to comment.