Skip to content

Bump to version 1.3.6 #98

Bump to version 1.3.6

Bump to version 1.3.6 #98

Workflow file for this run

name: Publish django-formset
on:
push:
tags:
- '*'
branches:
- releases/1.0.x
jobs:
publish:
name: "Publish release"
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.11"]
node-version: ["16.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 Parser
run: npm run tag-attributes
- name: Build CSS files
run: |
npm run compilescss
npm run tailwindcss
- name: Build Client
run: |
npm run esbuild
- 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 }}