Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional checks for release #23

Merged
merged 4 commits into from
Aug 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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