Skip to content

Commit 5cc8373

Browse files
author
Jim Robinson
committed
Set build number to version from VERSION file
1 parent e0398fa commit 5cc8373

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.44
1+
0.1.45

azure-pipelines.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ jobs:
4646
echo "##vso[task.setvariable variable=semVer]$SEMVER"
4747
python -m build
4848
python -m twine upload ./dist/* --non-interactive -u __token__ -p $(pypi_token)
49+
- task: UpdateBuildNumber@0
50+
inputs:
51+
buildNumber: $(semVer)
4952
- job: CliBuild
5053
dependsOn: build
5154
displayName: CliBuild
@@ -86,7 +89,7 @@ jobs:
8689
dependsOn: CliBuildDebianBullseye
8790
displayName: GithubRelease
8891
steps:
89-
- template: release/github-release.yaml@templates
92+
- template: release/github-release-build-number.yaml@templates
9093
parameters:
9194
semVer: $(semVer)
9295
github_access_token: $(github_access_token)

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.1.44
2+
current_version = 0.1.45
33

44
[metadata]
55
name = croudtech-bootstrap

0 commit comments

Comments
 (0)