Merge tag '0.24.5.26' into solve-debian-release #99
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Make Release | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Set version | |
run: | | |
pip install --upgrade pip | |
scripts/lib/install-python-requirements | |
scripts/set-dev-version ${{ github.ref_name }} ${{ github.sha }} | |
- name: Make release | |
run: scripts/test-sdist | |
- name: version name | |
run: echo "version=$(python -c 'import setuptools; setuptools.setup()' --version)" >> "$GITHUB_OUTPUT" | |
id: version-name | |
- name: Publish release | |
uses: actions/upload-artifact@v4 | |
with: | |
name: trash-cli-${{ steps.version-name.outputs.version }}.zip | |
path: dist/*.tar.gz | |
if-no-files-found: error | |