Skip to content

Bump to version 1.5.3 #111

Bump to version 1.5.3

Bump to version 1.5.3 #111

Workflow file for this run

name: Publish django-formset
on:
push:
tags:
- '*'
jobs:
publish:
name: "Publish release"
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.11"]
node-version: ["18.x"]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install -y gettext
npm install --include=dev
python -m pip install --upgrade pip
python -m pip install build django --user
- name: Build Parsers
run: |
npm run tag-attributes
npm run function-code
- name: Build CSS files
run: |
npm run compilescss
npm run tailwindcss
- name: Build Client
run: |
npm run esbuild
npm run esbuild.monolith
- name: Translate *.po files
run: cd formset && django-admin compilemessages
- name: Build 🐍 Python 📦 Package
run: python -m build --sdist --wheel --outdir dist/
- name: Publish 🐍 Python 📦 Package to PyPI
if: startsWith(github.ref, 'refs/tags') || startsWith(github.ref, 'refs/heads/releases')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN_FORMSET }}