Compare commits

..

2 Commits
0.1.1 ... 0.1.2

Author SHA1 Message Date
10eaa2c0e0 Fixed workflow 2024-04-01 20:57:39 +02:00
b549fd941c Added content type for long description 2024-04-01 20:53:02 +02:00
2 changed files with 6 additions and 6 deletions

View File

@@ -45,6 +45,7 @@ jobs:
needs: test needs: test
permissions: permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: write # for the tags
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -55,8 +56,8 @@ jobs:
- name: setup git - name: setup git
run: | run: |
git config --local user.email "actions@github.com" git config --local user.email "15138480+creyD@users.noreply.github.com"
git config --local user.name "GitHub Action" git config --local user.name "creyD"
- name: Git Version - name: Git Version
uses: codacy/git-version@2.8.0 uses: codacy/git-version@2.8.0
@@ -68,10 +69,8 @@ jobs:
- name: Create Tag - name: Create Tag
run: git tag ${{ steps.git_version.outputs.version }} run: git tag ${{ steps.git_version.outputs.version }}
- uses: stefanzweifel/git-auto-commit-action@v5 - name: Push tag
with: run: git push origin ${{ steps.git_version.outputs.version }}
commit_message: Add new tag
push_options: --tags
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5

View File

@@ -25,6 +25,7 @@ setup(
version=get_latest_git_tag(), version=get_latest_git_tag(),
description="Collection of my Python and FastAPI shortcuts, snippets etc.", description="Collection of my Python and FastAPI shortcuts, snippets etc.",
long_description=open("README.md").read(), long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Conrad Großer", author="Conrad Großer",
author_email="conrad@noah.tech", author_email="conrad@noah.tech",
packages=find_packages(), packages=find_packages(),