No local versions in pypi #541
This file contains hidden or 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: Release Test | |
on: [push] | |
permissions: | |
contents: read | |
jobs: | |
determine_version: | |
name: Determine Version | |
runs-on: ubuntu-24.04 | |
outputs: | |
release_version: ${{ steps.set_version.outputs.version }} | |
container: | |
image: danielflook/python-minifier-build:python3.14-2025-08-21 | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
show-progress: false | |
persist-credentials: false | |
- name: Discover version | |
id: set_version | |
run: | | |
pip3 install setuptools_scm | |
VERSION="$(python3 -m setuptools_scm)" | |
echo "Version: $VERSION" | |
echo "version=$VERSION" >> "$GITHUB_OUTPUT" | |
create_artifacts: | |
name: Create Artifacts | |
uses: ./.github/workflows/release_artifacts.yaml | |
needs: | |
- determine_version | |
with: | |
release_version: ${{ needs.determine_version.outputs.release_version }} |