GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — python-rapidjson/Makefile.release at master · python-rapidjson/python-rapidjson Expand file tree/ Copy pathMakefile.releaseMore file actions 70 lines (56 loc) · 2.04 KB / Copy pathMakefile.releaseFile metadata and controls70 lines (56 loc) · 2.04 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 # -*- coding: utf-8 -*- # :Project: python-rapidjson -- Release specific targets # :Author: Lele Gaifax <[email protected]> # :License: MIT License # :Copyright: © 2017, 2019, 2020, 2024 Lele Gaifax # BUMPER = $(VENVDIR)/bin/bump-my-version bump VERSION = $(shell bump-my-version show current_version 2>/dev/null) PACKAGE_NAME = python_rapidjson TWINE := $(BINDIR)twine help:: @printf "\nRelease management\n" @printf "==================\n\n" .PHONY: assert-clean-tree assert-clean-tree: @(test -z "$(shell git status -s --untracked=no)" || \ (echo "UNCOMMITTED STUFF" && false)) .PHONY: assert-master-branch assert-master-branch: @(test "$(shell git rev-parse --abbrev-ref HEAD)" = "master" || \ (echo "NOT IN MASTER BRANCH" && false)) help:: @printf "release\n\tBump minor version number\n" .PHONY: release release: assert-master-branch assert-clean-tree $(BUMPER) minor @echo ">>>" @echo ">>> Do your duties (update CHANGES.rst for example), then" @echo ">>> execute “make tag-release”." @echo ">>>" help:: @printf "tag-release\n\tComplete the release tagging the working tree\n" .PHONY: tag-release tag-release: assert-master-branch check-release-date check-long-description-markup git commit -a -m "Release $(VERSION)" git tag -a -m "Version $(VERSION)" v$(VERSION) .PHONY: check-long-description-markup check-long-description-markup: @$(PYTHON) setup.py --quiet sdist @$(TWINE) check dist/$(PACKAGE_NAME)-$(VERSION).tar.gz .PHONY: check-release-date check-release-date: @fgrep -q "$(VERSION) ($(shell date --iso-8601))" CHANGES.rst \ || (echo "ERROR: release date of version $(VERSION) not set in CHANGES.rst"; exit 1) help:: @printf "pypi-upload\n\tUpload the source distribution to PyPI\n" .PHONY: pypi-upload pypi-upload: assert-master-branch assert-clean-tree rapidjson_exact_version.txt @$(PYTHON) setup.py sdist @$(TWINE) upload dist/$(PACKAGE_NAME)-$(VERSION).tar.gz help:: @printf "publish\n\tUpload to PyPI, push changes and tags to the remote repo\n" .PHONY: publish publish: pypi-upload git push git push --tags |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |