Skip to content

Commit

Permalink
Merge pull request #23 from pydiverse/match-release-version
Browse files Browse the repository at this point in the history
Add additional checks for release
  • Loading branch information
finn-rudolph authored Aug 31, 2024
2 parents e22e52c + 4ad8ece commit 7d409eb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,22 @@ jobs:
with:
environments: release

- name: Ensure tag matches version
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
run: |
version="$(pixi exec -s go-yq -- yq .project.version pyproject.toml)"
tag="${{ github.ref_name }}"
if [ "$version" != "$tag" ]; then
echo "Tag $tag does not match version $version"
exit 1
fi
- name: Build
run: pixi run -e release hatch build

- name: Check build
run: pixi run -e release twine check dist/*

- name: List files
run: ls -l dist/

Expand Down
6 changes: 5 additions & 1 deletion docs/source/changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Changelog

## unreleased
## 0.2.0 (2024-08-31)

- add polars backend
- add Date and Duration type
- string / datetime operations now have their separate namespace (.str / .dt)
- add partition_by=, arrange= and filter= arguments for window / aggregation functions (filter does not work on SQL yet)
- migrate project to pixi

## 0.1.5 (2024-04-20)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pydiverse-transform"
version = "0.1.5"
version = "0.2.0"
description = "Pipe based dataframe manipulation library that can also transform data on SQL databases"
authors = [
{name = "QuantCo, Inc."},
Expand Down

0 comments on commit 7d409eb

Please sign in to comment.