File tree Expand file tree Collapse file tree 13 files changed +135
-75
lines changed Expand file tree Collapse file tree 13 files changed +135
-75
lines changed Original file line number Diff line number Diff line change 11[tool .commitizen ]
2- version = " 0.1.1 "
2+ version = " 0.1.2 "
33name = " cz_conventional_commits"
44version_files = [
55 " apps/iperf/main/idf_component.yml" ,
66 " iperf/idf_component.yml" ,
7- " iperf/CHANGELOG.md" ,
87 " iperf/README.md" ,
98 " iperf-cmd/idf_component.yml" ,
10- " iperf-cmd/CHANGELOG.md" ,
119 " iperf-cmd/README.md" ,
1210]
1311tag_format = " v$major.$minor.$patch"
1412version_scheme = " semver"
15- bump_message = " bump: development version $current_version → $new_version"
13+ bump_message = " ci( bump): bump version $current_version → $new_version"
1614update_changelog_on_bump = false
1715pre_bump_hooks = [
1816 " tools/pre_bump_hook.sh"
Original file line number Diff line number Diff line change 11name : Publish iperf/iperf-cmd to IDF Component Registry
22
33on :
4- push :
5- tags :
6- - v*
4+ release :
5+ types : [created]
76
87jobs :
98 upload_components :
@@ -15,14 +14,14 @@ jobs:
1514 - name : check components version same with tag
1615 run : |
1716 pip install -r tools/requirements.txt
18- python tools/check_version.py --version ${{ github.ref_name }}
17+ python tools/check_version.py --version ${{ github.event.release.tag_name }}
1918
2019 - name : Upload iperf to IDF Component Registry
2120 uses : espressif/upload-components-ci-action@v1
2221 with :
2322 name : " iperf"
2423 directories : " iperf"
25- version : ${{ github.ref_name }}
24+ version : ${{ github.event.release.tag_name }}
2625 namespace : " espressif"
2726 api_token : ${{ secrets.IDF_COMPONENT_API_TOKEN }}
2827
3130 with :
3231 name : " iperf-cmd"
3332 directories : " iperf-cmd"
34- version : ${{ github.ref_name }}
33+ version : ${{ github.event.release.tag_name }}
3534 namespace : " espressif"
3635 api_token : ${{ secrets.IDF_COMPONENT_API_TOKEN }}
Original file line number Diff line number Diff line change @@ -83,37 +83,3 @@ build_iperf_v43:
8383 tags :
8484 - build
8585 - internet
86-
87- publish_components :
88- stage : publish
89- image : ${GITLAB_DOCKER_REGISTRY}/qa/dockerfiles/qa-python-env:2
90- rules :
91- - if : ' $CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/'
92- needs :
93- - job : build_iperf
94- artifacts : false
95- - job : build_iperf_v43
96- artifacts : false
97- before_script :
98- - pip3 install Commitizen
99- - cz version -v
100- - git config user.name "${GITLAB_USER_LOGIN}"
101- - git config user.email "${GITLAB_USER_EMAIL}"
102- script :
103- - python tools/check_version.py --version ${CI_COMMIT_TAG}
104- # push to github and publish components
105- - gitlab project-protected-tag create --name ${CI_COMMIT_TAG} --project-id=${CI_PROJECT_ID} --private-token ${GITLAB_PRIVATE_TOKEN}
106- # bump new version: default PATCH
107- - git branch -D bump/new_patch_version || true
108- - git checkout -b bump/new_patch_version
109- - cz bump --increment=PATCH
110- # Do not add tag for new version
111- - git tag --delete v$(cz version --project) || true
112- - |
113- git push -f \
114- -o merge_request.create \
115- -o merge_request.title="bump: ${CI_COMMIT_TAG} -> next patch version" \
116- -o merge_request.assign="${GITLAB_USER_LOGIN}" \
117- origin bump/new_patch_version
118- tags :
119- - host_test
Original file line number Diff line number Diff line change @@ -39,7 +39,19 @@ Your PR may not be published until a new version of this component is released.
3939
4040When releasing a new component version we have to:
4141
42- * Create the version tag in this repository
43- * Publish the component to component registry
44- * Update the version number to next dev version
45- * Update the changelog
42+ - Pass build/test with current (latest) version commit.
43+ - Bump a new version using ` cz bump` :
44+
45+ ` ` ` bash
46+ git branch -D bump/new_version || true
47+ git checkout -b bump/new_version
48+ # bump new version: https://commitizen-tools.github.io/commitizen/commands/bump/
49+ cz bump < new_version>
50+ # Or
51+ cz bump --increment=PATCH
52+ ` ` `
53+
54+ - Change logs are automatically generated and updated.
55+ - Merge the new version branch into the main branch.
56+ - Create a new version tag in this repository.
57+ - Create a new github release and publish the component to component registry.
Original file line number Diff line number Diff line change 11# # IDF Component Manager Manifest File
22dependencies :
33 espressif/iperf :
4- version : =0.1.1
4+ version : =0.1.2
55 override_path : ../../../iperf
66 espressif/iperf-cmd :
7- version : =0.1.1
7+ version : =0.1.2
88 override_path : ../../../iperf-cmd
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ v0.1.2] ( https://github.com/espressif/iperf-cmd/commit//v0.1.2 )
4+
5+ ### Bug Fixes
6+
7+ - fix build with ipv6 only ([ caea9730] ( https://github.com/espressif/iperf-cmd/commit/caea9730 ) )
8+
39## [ 0.1.1] ( https://github.com/espressif/iperf-cmd/commits/v0.1.1 )
410
511### Features
Original file line number Diff line number Diff line change @@ -32,6 +32,6 @@ This repository contains `iperf` command based esp-idf console.
3232 ``` yaml
3333 dependencies :
3434 espressif/iperf_cmd :
35- version : " ^0.1.1 "
35+ version : " ^0.1.2 "
3636 ` ` `
3737- For more details refer [IDF Component Manager](https://docs.espressif.com/projects/idf-component-manager/en/latest/)
Original file line number Diff line number Diff line change 1- version : 0.1.1
1+ version : 0.1.2
22description : Iperf command based on esp-idf console
33url : https://github.com/espressif/iperf-cmd/tree/master/iperf-cmd
44repository : https://github.com/espressif/iperf-cmd.git
@@ -8,7 +8,7 @@ license: Apache-2.0
88dependencies :
99 idf : ' >=4.3'
1010 espressif/iperf :
11- version : =0.1.1
11+ version : =0.1.2
1212examples :
1313 - path : ../apps/iperf/
1414files :
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ v0.1.2] ( https://github.com/espressif/iperf-cmd/commit//v0.1.2 )
4+
5+ ### Bug Fixes
6+
7+ - fix build with ipv6 only ([ caea9730] ( https://github.com/espressif/iperf-cmd/commit/caea9730 ) )
8+ - No debug if non-fattal errorno ENOBUFS received ([ 55cce9dc] ( https://github.com/espressif/iperf-cmd/commit/55cce9dc ) )
9+
310## [ 0.1.1] ( https://github.com/espressif/iperf-cmd/commits/v0.1.1 )
411
512### Features
Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ This repository contains a basic iperf core engine.
1616 ``` yaml
1717 dependencies :
1818 espressif/iperf :
19- version : " ^0.1.1 "
19+ version : " ^0.1.2 "
2020 ` ` `
2121- For more details refer [IDF Component Manager](https://docs.espressif.com/projects/idf-component-manager/en/latest/)
You can’t perform that action at this time.
0 commit comments