diff --git a/.github/workflows/test-build-and-deploy.yml b/.github/workflows/build-and-deploy-test.yml similarity index 93% rename from .github/workflows/test-build-and-deploy.yml rename to .github/workflows/build-and-deploy-test.yml index 68de2ec..91d857e 100644 --- a/.github/workflows/test-build-and-deploy.yml +++ b/.github/workflows/build-and-deploy-test.yml @@ -14,7 +14,8 @@ jobs: steps: - uses: actions/checkout@v3 with: - ref: cibuildwheel + ref: develop + fetch-depth: 0 - name: Build wheels uses: pypa/cibuildwheel@v2.12.1 @@ -28,6 +29,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + ref: develop + fetch-depth: 0 - name: Build sdist run: pipx run build --sdist diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 8e0ea8d..0417c77 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -15,6 +15,7 @@ jobs: - uses: actions/checkout@v3 with: ref: main + fetch-depth: 0 - name: Build wheels uses: pypa/cibuildwheel@v2.12.1 @@ -28,6 +29,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + ref: main + fetch-depth: 0 - name: Build sdist run: pipx run build --sdist diff --git a/CHANGELOG.md b/CHANGELOG.md index 2264199..0c90839 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/) and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.0.3] +### Fixed +* Deploy actions checkout step now grabs full commit history so that setuptools_scm finds the correct version number + ## [0.0.2] ### Added