mirror of
https://github.com/creyD/creyPY.git
synced 2026-04-13 03:40:31 +02:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 10eaa2c0e0 | |||
| b549fd941c |
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -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
|
||||||
|
|||||||
1
setup.py
1
setup.py
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user