Skip to content

Commit

Permalink
Add tag pushing to Make target
Browse files Browse the repository at this point in the history
  • Loading branch information
jadchaar committed Oct 8, 2023
1 parent 767c769 commit 4e5d100
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ tag:
@read -p "Has __version__ been updated for release? (Y/N): " choice; \
if [ "$$(echo "$$choice" | tr '[:upper:]' '[:lower:]')" = "y" ]; then \
TAG_VERSION=$$(grep -oE '([0-9]+\.[0-9]+\.[0-9]+)' sec_edgar_downloader/_version.py); \
echo "Creating and pushing Git tag for v$$TAG_VERSION"; \
echo "Creating and pushing Git tag: $$TAG_VERSION"; \
git tag $$TAG_VERSION master; \
git push origin $$TAG_VERSION; \
else \
echo "Aborting."; \
fi

0 comments on commit 4e5d100

Please sign in to comment.