Skip to content

Commit

Permalink
Merge pull request #248 from sibson/auto-datestamp-release
Browse files Browse the repository at this point in the history
Auto datestamp release
  • Loading branch information
sibson authored May 18, 2023
2 parents 8e2aeec + fd14baf commit bd26569
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ release: release-check release-tag upload

release-check:
git pull
tox
make test

release-tag: VERSION:=$(shell python setup.py --version)
release-tag:
sed -i -e "s/unreleased/$(date '+%Y-%m-%d')/" CHANGES.txt
git ci -m"update release date for $(VERSION) in CHANGES.txt" CHANGES.txt
git tag -a v$(VERSION) -m"release version $(VERSION)"
git push --tags

Expand Down

0 comments on commit bd26569

Please sign in to comment.