Skip to content

Commit 3e7029b

Browse files
committed
adds workflows
1 parent 9ab9b1b commit 3e7029b

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
updates:
3+
# GitHub Actions
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "daily"
8+
commit-message:
9+
prefix:
10+
# Python
11+
- package-ecosystem: "pip"
12+
directory: "/"
13+
schedule:
14+
interval: "daily"
15+
commit-message:
16+
prefix:

.github/workflows/publish.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Set up Python
15+
uses: actions/setup-python@v4
16+
with:
17+
python-version: "3.10"
18+
19+
- name: Build distribution
20+
run: python -m build
21+
22+
- name: Publish
23+
uses: pypa/[email protected]
24+
with:
25+
password: ${{ secrets.PYPI_API_TOKEN }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ help:
3434
{printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
3535

3636
tag: ## create and push a tag for the current version
37-
echo $(VERSION_PYSCRIPT)
37+
echo $(TAG)
3838
# git tag $(TAG)
3939
# git push origin $(TAG)
4040

0 commit comments

Comments
 (0)