lukasschwab / arxiv.py

Python wrapper for the arXiv API
MIT License
1.07k stars 120 forks source link

Add a release script #39

Closed lukasschwab closed 4 years ago

lukasschwab commented 4 years ago

Just filing this as a to-do item for myself.

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I have a gitignore'd markdown file with my release steps outlined; this is error-prone, and the process is somewhat complex now that I intend to more consistently mint GitHub releases: https://github.com/lukasschwab/arxiv.py/issues/38.

Describe the solution you'd like A clear and concise description of what you want to happen.

A bash script; Makefile if it's sufficiently complex.

This can only extract the package version and avoid automatically incrementing it; then the script can just error if the version number is the same as the most recent tag.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

I could opt to automatically increment the version number, but this adds some interface complexity––e.g. --fixup, --minor, --major flags.

lukasschwab commented 4 years ago

Created. .gitignored.