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

feat: Revisit versioning and streamline maintenance adding "bump" and "tag_release" nox sessions #13

Merged
merged 3 commits into from
Mar 31, 2024

Conversation

jcfr
Copy link
Collaborator

@jcfr jcfr commented Mar 30, 2024

Revisit versioning by hard-coding the IDC index version as the major version specified in the pyproject.toml file.

Add nox sessions:

  • bump: for updating the sources by querying the latest IDC index version
  • tag_release: for displaying instructions for tagging a release

Adapted from scikit-build/cmake-python-distributions#470 by @henryiii

Once this is integrated, it will be trivial to setup a scheduled workflow for creating a pull request if a new version of the IDC table is available.

Related issues:

jcfr and others added 3 commits March 29, 2024 20:14
This major version associated with the package is now consistent with the
IDC table version hard-coded in `scripts/sql/idc_index.sql`.

Co-authored-by: Henry Schreiner <[email protected]>
@jcfr jcfr requested review from vkt1414 and fedorov March 30, 2024 00:35
@jcfr jcfr changed the title Revisit versioning Revisit versioning and streamline maintenance adding "bump" and "tag_release" nox sessions Mar 30, 2024
@fedorov fedorov merged commit b8b225b into main Mar 31, 2024
9 checks passed
@fedorov fedorov deleted the add-bump-script branch March 31, 2024 19:44
@fedorov
Copy link
Member

fedorov commented Mar 31, 2024

@jcfr everything works as expected - thank you for your efforts!!!

@jcfr jcfr changed the title Revisit versioning and streamline maintenance adding "bump" and "tag_release" nox sessions feat: Revisit versioning and streamline maintenance adding "bump" and "tag_release" nox sessions Apr 1, 2024
vkt1414 pushed a commit that referenced this pull request Apr 9, 2024
…release" nox sessions (#13)

* feat: simplify versioning by hard-coding value in pyproject.toml

This major version associated with the package is now consistent with the
IDC table version hard-coded in `scripts/sql/idc_index.sql`.

Co-authored-by: Henry Schreiner <[email protected]>

* chore: Add "bump" nox session to streamline IDC index version update

Co-authored-by: Henry Schreiner <[email protected]>

* chore: Add nox session and instructions for tagging a release

Co-authored-by: Henry Schreiner <[email protected]>

---------

Co-authored-by: Henry Schreiner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants