This repository was archived by the owner on Feb 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +20
-16
lines changed
test/cucumber-test-release-automation Expand file tree Collapse file tree 7 files changed +20
-16
lines changed Original file line number Diff line number Diff line change 2121 - name : Set unique package version
2222 id : set-version
2323 run : |
24- sed -i -e "s/\(version *= *\"[0-9]*\.[0-9]*\)\.[0-9]*\(\"\)/\1.${{ github.run_number }}\2/" setup.py
24+ sed -i -e "s/\(version *= *\"[0-9]*\.[0-9]*\)\.[0-9]*\(\"\)/\1.${{ github.run_number }}\2/" pyproject.toml
2525 shell : bash
2626 working-directory : " test/cucumber-test-release-automation"
2727 - name : Test the action
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
88## [ Unreleased]
9+ ### Changed
10+ - Change to build as build frontend and setuptools as build backend. This is to adapt to the setup in cucumber/ci-environment.
911
1012## [ 2.0.0] - 2024-01-15
1113### Changed
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ runs:
1010 steps :
1111 - name : Install Python package dependencies
1212 run : |
13- python -m pip install -U pip setuptools wheel twine
13+ python -m pip install -U pip setuptools wheel twine build
1414 pip install -e .
1515 shell : bash
1616 working-directory : ${{ inputs.working-directory }}
1717 - name : Build dist
18- run : python setup.py sdist bdist_wheel
18+ run : python -m build
1919 shell : bash
2020 working-directory : ${{ inputs.working-directory }}
2121 - name : Check dist
Original file line number Diff line number Diff line change 1+ # Cucumber Test Release Automation
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ build-backend = " setuptools.build_meta"
3+ requires = [" setuptools" , " wheel" ]
4+
5+ [project ]
6+ name = " cucumber-test-release-automation"
7+ version = " 0.0.1"
8+ description = " "
9+ authors = [
10+ {
name =
" Matt Wynne" ,
email =
" [email protected] " }
11+ ]
12+ readme = {file = " README.md" , content-type = " text/markdown" }
Original file line number Diff line number Diff line change 1+ [options]
2+ include_package_data = True
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments