File tree 5 files changed +40
-11
lines changed
5 files changed +40
-11
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: Build aboutcode.pipeline Python distributions and publish on PyPI
2
2
3
3
on :
4
4
workflow_dispatch :
5
- # push:
6
- # tags:
7
- # - "aboutcode.pipeline/v*.*. *"
5
+ push :
6
+ tags :
7
+ - " aboutcode.pipeline/*"
8
8
9
9
jobs :
10
10
build-and-publish :
36
36
with :
37
37
name : pypi_archives
38
38
path : dist/*
39
-
40
- - name : Create a GitHub release
41
- uses : softprops/action-gh-release@v1
42
- with :
43
- draft : false
44
- files : dist/*
Original file line number Diff line number Diff line change
1
+ # Changelog
2
+
3
+ ## Release 0.1.0 (August 9, 2023)
4
+
5
+ * Initial release of the ` aboutcode.pipeline ` library. [ Issue #1351 ] ( https://github.com/nexB/scancode.io/issues/1351 )
Original file line number Diff line number Diff line change
1
+ # Release instructions for ` aboutcode.pipeline `
2
+
3
+ ### Automated release workflow
4
+
5
+ - Create a new ` aboutcode.pipeline-release-x.x.x ` branch
6
+ - Update the version in:
7
+ - ` pipeline-pyproject.toml `
8
+ - ` aboutcode/pipeline/__init__.py `
9
+ - Commit and push this branch
10
+ - Create a PR and merge once approved
11
+ - Tag and push to trigger the ` pypi-release-aboutcode-pipeline.yml ` workflow that
12
+ takes care of building the distribution archives and upload those to pypi::
13
+ ```
14
+ VERSION=x.x.x # <- Set the new version here
15
+ TAG=aboutcode.pipeline/$VERSION
16
+ git tag -a $TAG -m ""
17
+ git push origin $TAG
18
+ ```
19
+
20
+ ### Manual build
21
+
22
+ ```
23
+ cd scancode.io
24
+ source .venv/bin/activate
25
+ pip install flot
26
+ flot --pyproject pipeline-pyproject.toml --sdist --wheel --output-dir dist/
27
+ ```
28
+
29
+ The distribution archives will be available in the local ` dist/ ` directory.
Original file line number Diff line number Diff line change 30
30
31
31
module_logger = logging .getLogger (__name__ )
32
32
33
- __version__ = "0.1"
33
+ __version__ = "0.1.0 "
34
34
35
35
36
36
class PipelineDefinition :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "flot.buildapi"
4
4
5
5
[project ]
6
6
name = " aboutcode.pipeline"
7
- version = " 0.1"
7
+ version = " 0.1.0 "
8
8
description = " AboutCode Pipeline library. Execute code in steps."
9
9
license = { text = " Apache-2.0" }
10
10
readme = " aboutcode/pipeline/README.md"
@@ -31,6 +31,7 @@ classifiers = [
31
31
[project .urls ]
32
32
Homepage = " https://github.com/nexB/scancode.io"
33
33
Documentation = " https://scancodeio.readthedocs.io/"
34
+ Changelog = " https://github.com/nexB/scancode.io/tree/main/aboutcode/pipeline/CHANGELOG.md"
34
35
Repository = " https://github.com/nexB/scancode.io/tree/main/aboutcode/pipeline"
35
36
Issues = " https://github.com/nexB/scancode.io/issues"
36
37
You can’t perform that action at this time.
0 commit comments