Skip to content

Commit

Permalink
release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
nicfit committed Jan 5, 2020
1 parent f5993cd commit 78eca99
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 12 deletions.
20 changes: 20 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@ Release History

.. :changelog:
v0.9.2 (2020-01-04)
------------------------

New
~~~
- Loved tracks command (#328)
- Top tracks, unknown album covers, more prompt/input.
- --show-listens option
-- exclude-* options
- 8x8 collage.

Fix
~~~
- Cache filenames, user not found errors.

Other
~~~~~
- Tests and stuff.
- Removed Facebook ingetration.

v0.9.1 (2018-04-11)
--------------------

Expand Down
16 changes: 7 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ help:
@echo "build - byte-compile python files and generate other build objects"
@echo "lint - check style with flake8"
@echo "test - run tests quickly with the default Python"
@echo "test-all - run tests on every Python version with tox"
@echo "test-all - run tests on various versions of Python version with tox"
@echo "coverage - check code coverage quickly with the default Python"
@echo "test-all - run tests on various Python versions with tox"
@echo "release - package and upload a release"
@echo " PYPI_REPO=[pypitest]|pypi"
@echo "pre-release - check repo and show version, generate changelog, etc."
Expand Down Expand Up @@ -117,24 +116,23 @@ pre-release: lint test changelog requirements
$(eval RELEASE_TAG = v${VERSION})
@echo "RELEASE_TAG: $(RELEASE_TAG)"
@echo "RELEASE_NAME: $(RELEASE_NAME)"
check-manifest
@if git tag -l | grep -E '^$(RELEASE_TAG)$$' > /dev/null; then \
tox -e check-manifest
@if git tag -l | grep -E '^$(shell echo $${RELEASE_TAG} | sed 's|\.|.|g')$$' > /dev/null; then \
echo "Version tag '${RELEASE_TAG}' already exists!"; \
false; \
fi
IFS=$$'\n';\
for auth in `git authors --list | sed 's/.* <\(.*\)>/\1/'`; do \
for auth in `git authors --list | sed 's/.* <\(.*\)>/\1/' | grep -v users.noreply.github.com`; do \
echo "Checking $$auth...";\
grep "$$auth" AUTHORS.rst || echo "* $$auth" >> AUTHORS.rst;\
grep "$$auth" AUTHORS.rst || echo " * $$auth" >> AUTHORS.rst;\
done
@test -n "${GITHUB_USER}" || (echo "GITHUB_USER not set, needed for github" && false)
@test -n "${GITHUB_TOKEN}" || (echo "GITHUB_TOKEN not set, needed for github" && false)
@github-release --version # Just a exe existence check
@git status -s -b

requirements:
nicfit requirements
pip-compile -U requirements.txt -o ./requirements.txt
tox -e requirements

changelog:
last=`git tag -l --sort=version:refname | grep '^v[0-9]' | tail -n1`;\
Expand Down Expand Up @@ -191,7 +189,7 @@ web-release:
@# Not implemented
@true

upload-release: github-release pypi-release web-release
upload-release: pypi-release github-release web-release

pypi-release:
for f in `find dist -type f -name ${PROJECT_NAME}-${VERSION}.tar.gz \
Expand Down
1 change: 0 additions & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Sphinx==2.3.1
check-manifest==0.40
flake8==3.7.9
Expand Down
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ deps = check-manifest
commands = check-manifest

[testenv:requirements]
deps = nicfit.py
deps =
nicfit.py
pip-tools
skipsdist = true
commands = nicfit requirements
commands =
nicfit requirements
pip-compile -U requirements.txt -o ./requirements.txt

0 comments on commit 78eca99

Please sign in to comment.