Skip to content

Commit 6af48d5

Browse files
chore(build): add github-release target to Makefile and update gitignore
1 parent 1176f7b commit 6af48d5

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ venv/
132132
ENV/
133133
env.bak/
134134
venv.bak/
135+
openapi-python-sdk/
135136

136137
# Spyder project settings
137138
.spyderproject

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,10 @@ release: publish
7979
@echo "Tagging release $(VERSION)..."
8080
@git tag -fa "$(VERSION)" -m "Release $(VERSION)"
8181
@git push origin --tags -f
82-
@echo "Released $(VERSION) successfully."
82+
@echo "Released $(VERSION) successfully."
83+
84+
github-release:
85+
@gh release create "$(VERSION)" \
86+
--title "Openapi® Python SDK v$(VERSION)" \
87+
--notes-file docs/release.md \
88+
--latest

0 commit comments

Comments
 (0)