Skip to content

Commit

Permalink
Merge pull request #10 from meejah/build-updates
Browse files Browse the repository at this point in the history
Build updates
  • Loading branch information
meejah authored Oct 18, 2023
2 parents 7f8057e + bf5e9ae commit 7b29f82
Show file tree
Hide file tree
Showing 5 changed files with 233 additions and 242 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ venv
dist
.coverage
relay.sqlite
PRIVATE*
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ test:

release: pin
python update-version.py
hatch version `git tag --sort -v:refname | head -1`
hatchling build
gpg --pinentry=loopback -u meejah@meejah.ca --armor --detach-sign dist/fowl-`git describe --abbrev=0`-py3-none-any.whl
gpg --pinentry=loopback -u meejah@meejah.ca --armor --detach-sign dist/fowl-`git describe --abbrev=0`.tar.gz
Expand All @@ -22,4 +23,4 @@ undo-release:

release-upload:
@ls dist/fowl-`git describe --abbrev=0`*
twine upload dist/fowl-`git describe --abbrev=0`*
twine upload --username __token__ --password `cat PRIVATE-release-token` dist/fowl-`git describe --abbrev=0`*
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ dev = [
"sphinx",
"dulwich",
"gpg", # should use isis lovecruft's version?
"pip-tools",
"hatch",
]

[project.scripts]
Expand Down
Loading

0 comments on commit 7b29f82

Please sign in to comment.