Skip to content

Commit

Permalink
update ci.yml and setup.py for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
erdem committed Jul 9, 2024
1 parent cfce28b commit c759d2d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 34 deletions.
33 changes: 2 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
linter:
checks:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 7 additions & 0 deletions docs/releases/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
^^^^^

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from setuptools import find_packages, setup

VERSION = (0, 5, 0)
VERSION = (0, 5, 1)
__version__ = ".".join(map(str, VERSION))


Expand Down

0 comments on commit c759d2d

Please sign in to comment.