Skip to content

Commit e186338

Browse files
committed
moving to continuous delivery scripts
1 parent 790365d commit e186338

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

Pipfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pytest = "*"
1616
pytest-cov = "*"
1717
wheel = "*"
1818
code-snippet = {editable = true, path = "."}
19-
mbed-tools-ci-scripts = "*"
19+
continuous-delivery-scripts = "*"
2020
pre-commit = "*"
2121

2222
[pipenv]

azure-pipelines/build-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ stages:
121121
- template: steps/install-development-dependencies.yml
122122

123123
- script: |
124-
assert-news -b $(current_branch)
124+
cd-assert-news -b $(current_branch)
125125
displayName: 'Run check'
126126
127127
- stage: DocBuild
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
steps:
22
- bash: |
3-
echo "##vso[task.setvariable variable=temp_docs_path]`get-config --key DOCUMENTATION_PRODUCTION_OUTPUT_PATH`"
3+
echo "##vso[task.setvariable variable=temp_docs_path]`cd-get-config --key DOCUMENTATION_PRODUCTION_OUTPUT_PATH`"
44
displayName: 'Set variable for temporary docs dir'
5-
65
- script: |
7-
generate-docs --output_dir $(temp_docs_path)
6+
cd-generate-docs --output_dir $(temp_docs_path)
87
displayName: 'Generate documentation'
9-
108
- script: |
11-
license-files
9+
cd-license-files
1210
displayName: 'Add copyright/licence notice.'

azure-pipelines/steps/generate-spdx-documents.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ steps:
55
66
- bash: |
77
mkdir -p $(temp_spdx_reports_path)
8-
generate-spdx --output-dir $(temp_spdx_reports_path)
8+
cd-generate-spdx --output-dir $(temp_spdx_reports_path)
99
displayName: 'Generate SPDX documents'
1010
1111
- script: |
12-
license-files
12+
cd-license-files
1313
displayName: 'Add copyright/licence notice.'
1414
1515
- publish: $(temp_spdx_reports_path)

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ DOCUMENTATION_DEFAULT_OUTPUT_PATH = "local_docs"
1717
DOCUMENTATION_PRODUCTION_OUTPUT_PATH = "docs"
1818
VERSION_FILE_PATH = "snippet/_version.py"
1919
CHANGELOG_FILE_PATH = "CHANGELOG.md"
20+
PROGRAMMING_LANGUAGE = "Python"
2021

2122
[ProjectConfig.PACKAGES_WITH_CHECKED_LICENCE]
2223
python-dotenv = "BSD-3-Clause"

0 commit comments

Comments
 (0)