Skip to content

Conversation

tomschr
Copy link
Member

@tomschr tomschr commented Oct 8, 2022

The methods .bump_prerelease('') and .bump_build('') generates a prerelease and build part without the token.

@tomschr tomschr added Release_3.x.y Only for the major release 3 Enhancement Not a bug, but increases or improves in value, quality, desirability, or attractiveness labels Oct 8, 2022
@tomschr tomschr self-assigned this Oct 8, 2022
@tomschr tomschr force-pushed the feature/344-prerelease-build branch 2 times, most recently from 6e8231c to 4b30940 Compare December 21, 2022 13:09
OidaTiftla pushed a commit to OidaTiftla/python-semver that referenced this pull request Feb 9, 2023
* Improve pyproject.toml
  * Use setuptools
  * Add metadata
  * Taken approach from
    https://godatadriven.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml/

* Doc: Describe building of semver

* Correct small glitches
  * Remove .travis.yml in MANIFEST.in (not needed anymore)
  * Distinguish between Python3.6 and others in tox.ini
  * Add skip_missing_interpreters option for tox.ini

* Add changelog entry

* GH Action:
  * Upgrade setuptools and setuptools-scm
  * Also test against 3.11.0-rc.2
OidaTiftla pushed a commit to OidaTiftla/python-semver that referenced this pull request Feb 9, 2023
@tomschr tomschr force-pushed the feature/344-prerelease-build branch from 4b30940 to cc5d01f Compare February 20, 2023 12:16
@tomschr tomschr force-pushed the feature/344-prerelease-build branch 2 times, most recently from c5e732b to f7cbf24 Compare March 5, 2023 08:53
@tomschr tomschr marked this pull request as ready for review March 5, 2023 08:59
@tomschr tomschr force-pushed the feature/344-prerelease-build branch 2 times, most recently from cecbe8a to b1a01cd Compare March 5, 2023 09:06
The methods .bump_prerelease() and .bump_build() allow now
different types for the token argument:

* A string. This was already allowed and default was "rc".
  If the string is empty, we get only the raised number (without
  the "rc" part). The number starts from 1.
* None. Is the same as calling the method without any argument.
@tomschr tomschr force-pushed the feature/344-prerelease-build branch from b1a01cd to f8a182f Compare March 5, 2023 09:10
@tomschr tomschr merged commit a2a6169 into python-semver:master Mar 5, 2023
@tomschr tomschr deleted the feature/344-prerelease-build branch March 5, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Not a bug, but increases or improves in value, quality, desirability, or attractiveness Release_3.x.y Only for the major release 3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant