From 3c4d61d14bae2811ccae3e0a37fb5ab24e4a1ccf Mon Sep 17 00:00:00 2001 From: Tom Wojcik Date: Fri, 7 Jun 2024 11:40:31 +0200 Subject: [PATCH 1/3] add echo git tag in publish_pypi.yml --- .github/workflows/publish_pypi.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 8b86c378..b6257df5 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -16,6 +16,9 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3.5.0 + - name: Echo Git Tag + run: | + echo "Git tag: $(git describe --tags)" - name: Set up Python uses: actions/setup-python@v4.6.0 with: From 49e7609e0cb682c1f8b15a5518c0e0b204018e7a Mon Sep 17 00:00:00 2001 From: Tom Wojcik Date: Fri, 7 Jun 2024 11:42:29 +0200 Subject: [PATCH 2/3] allow to manually run publish pypi --- .github/workflows/publish_pypi.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index b6257df5..860084e6 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -4,6 +4,7 @@ on: release: types: - released + workflow_dispatch: jobs: publish: From 41ea942d1d1fa27eae65dc06cd6836212c506e4e Mon Sep 17 00:00:00 2001 From: Tom Wojcik Date: Fri, 7 Jun 2024 11:48:11 +0200 Subject: [PATCH 3/3] add forgotten version bump in pyproject 2.2.2 -> 2.2.3 --- .github/workflows/publish_pypi.yml | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 860084e6..ee4e8e46 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -17,6 +17,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3.5.0 + - name: Fetch All Tags + run: git fetch --tags - name: Echo Git Tag run: | echo "Git tag: $(git describe --tags)" diff --git a/pyproject.toml b/pyproject.toml index cf37607a..d0c50be4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "djoser" -version = "2.2.2" +version = "2.2.3" description = "REST implementation of Django authentication system." authors = [ "Sunscrapers ",