From c759d2d6e82adff5396de8311f23ce56b36a5729 Mon Sep 17 00:00:00 2001 From: erdem Date: Tue, 9 Jul 2024 18:40:04 +0100 Subject: [PATCH] update ci.yml and setup.py for new release --- .github/workflows/ci.yml | 33 ++------------------------------- docs/conf.py | 4 ++-- docs/releases/index.rst | 7 +++++++ setup.py | 2 +- 4 files changed, 12 insertions(+), 34 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70f2158..d15f7d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: - main jobs: - linter: + checks: runs-on: ubuntu-latest steps: @@ -52,34 +52,5 @@ jobs: - name: Run black run: poetry run black . - - name: Save workspace - uses: actions/upload-artifact@v2 - with: - name: workspace - path: .venv - - checks: - runs-on: ubuntu-latest - needs: linter - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Download workspace - uses: actions/download-artifact@v2 - with: - name: workspace - path: .venv - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: "3.12" - - - name: Configure Poetry - run: | - poetry config virtualenvs.in-project true - - name: Collect static files - run: poetry run python manage.py collectstatic --noinput + run: poetry run python manage.py collectstatic --noinput \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index c0d22a9..55a0049 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,9 +54,9 @@ # built documents. # # The short X.Y version. -version = "0.5.0" +version = "0.5.1" # The full version, including alpha/beta/rc tags. -release = "0.5.0" +release = "0.5.1" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/releases/index.rst b/docs/releases/index.rst index 6076af8..a1b7053 100644 --- a/docs/releases/index.rst +++ b/docs/releases/index.rst @@ -2,6 +2,13 @@ Release Notes ============= +0.5.1 +^^^^^ + + - Fix `collectstatic` command error when using ManifestStaticFilesStorage. (#148). + - Run `collectstatic` in demo project in a CI step. + + 0.5.0 ^^^^^ diff --git a/setup.py b/setup.py index e6be3b5..b5bf552 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages, setup -VERSION = (0, 5, 0) +VERSION = (0, 5, 1) __version__ = ".".join(map(str, VERSION))