Compare commits

..

4 Commits
0.1.0 ... 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
2f4e3e7dba Added long_description 2024-04-01 20:46:27 +02:00
38d9a0c177 Added additional fetching for git checkout 2024-04-01 20:43:11 +02:00
3 changed files with 10 additions and 6 deletions

View File

@@ -45,16 +45,19 @@ 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
with: with:
fetch-tags: true fetch-tags: true
ref: ${{ github.ref }}
fetch-depth: 0
- 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
@@ -66,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

@@ -1,2 +1,3 @@
# creyPY # creyPY
My collection of Python and FastAPI shortcuts etc. My collection of Python and FastAPI shortcuts etc.

View File

@@ -24,6 +24,8 @@ setup(
name="creyPY", name="creyPY",
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_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(),