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