mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-30 02:37:31 +02:00
Merge pull request #383 from espressif-abhikroy/components/console_simple_init_1
fix(console): Fixed bump version check in publish-docs yml
This commit is contained in:
8
.github/workflows/publish-docs-component.yml
vendored
8
.github/workflows/publish-docs-component.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
|||||||
sudo apt-get -y install doxygen clang python3-pip
|
sudo apt-get -y install doxygen clang python3-pip
|
||||||
python -m pip install breathe recommonmark esp-docs==1.4.1
|
python -m pip install breathe recommonmark esp-docs==1.4.1
|
||||||
for comp in `ls components`; do
|
for comp in `ls components`; do
|
||||||
if [ -d $GITHUB_WORKSPACE/docs/${comp} ]; then
|
if [[ -d $GITHUB_WORKSPACE/docs/${comp} ]]; then
|
||||||
cd $GITHUB_WORKSPACE/docs/${comp}
|
cd $GITHUB_WORKSPACE/docs/${comp}
|
||||||
if [[ "${{ env.BUMP_COMPONENT }}" == "${comp}" ]]; then
|
if [[ "${{ env.BUMP_COMPONENT }}" == "${comp}" ]]; then
|
||||||
echo "Building specific version of ${comp} (${{ env.BUMP_VERSION }})"
|
echo "Building specific version of ${comp} (${{ env.BUMP_VERSION }})"
|
||||||
@ -69,7 +69,7 @@ jobs:
|
|||||||
export GIT_VER=$(git describe --always)
|
export GIT_VER=$(git describe --always)
|
||||||
export GITHUB_REF_NAME=latest
|
export GITHUB_REF_NAME=latest
|
||||||
for comp in `ls components`; do
|
for comp in `ls components`; do
|
||||||
if [ -d $GITHUB_WORKSPACE/docs/${comp} ]; then
|
if [[ -d $GITHUB_WORKSPACE/docs/${comp} ]]; then
|
||||||
echo "Deploying latest of ${comp}"
|
echo "Deploying latest of ${comp}"
|
||||||
export DOCS_BUILD_DIR=$GITHUB_WORKSPACE/docs/${comp}
|
export DOCS_BUILD_DIR=$GITHUB_WORKSPACE/docs/${comp}
|
||||||
export DOCS_DEPLOY_PATH=$DOCS_DEPLOY_PATH_ORIG/${comp}
|
export DOCS_DEPLOY_PATH=$DOCS_DEPLOY_PATH_ORIG/${comp}
|
||||||
@ -78,8 +78,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
done;
|
done;
|
||||||
# Deploy docs with version path
|
# Deploy docs with version path
|
||||||
if [[ "${{ env.BUMP_VERSION }}" != "" ]] && [[ -d $GITHUB_WORKSPACE/docs/${comp} ]]; then
|
if [[ "${{ env.BUMP_VERSION }}" != "" ]] && [[ -d $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }} ]]; then
|
||||||
echo "Deploying specific version of ${comp} (${{ env.BUMP_VERSION }})"
|
echo "Deploying specific version of ${{ env.BUMP_COMPONENT }} (${{ env.BUMP_VERSION }})"
|
||||||
cd $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }}
|
cd $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }}
|
||||||
export GITHUB_REF_NAME=${{ env.BUMP_VERSION }}
|
export GITHUB_REF_NAME=${{ env.BUMP_VERSION }}
|
||||||
deploy-docs
|
deploy-docs
|
||||||
|
@ -33,3 +33,7 @@ Please refer to instructions in [ESP-IDF](https://github.com/espressif/esp-idf)
|
|||||||
|
|
||||||
* Brief introduction [README](components/esp_mqtt_cxx/README.md)
|
* Brief introduction [README](components/esp_mqtt_cxx/README.md)
|
||||||
* Full html [documentation](https://docs.espressif.com/projects/esp-protocols/esp_mqtt_cxx/docs/latest/index.html)
|
* Full html [documentation](https://docs.espressif.com/projects/esp-protocols/esp_mqtt_cxx/docs/latest/index.html)
|
||||||
|
|
||||||
|
### console_simple_init
|
||||||
|
|
||||||
|
* Brief introduction [README](components/console_simple_init/README.md)
|
||||||
|
@ -3,6 +3,6 @@ commitizen:
|
|||||||
bump_message: 'bump(console): $current_version -> $new_version'
|
bump_message: 'bump(console): $current_version -> $new_version'
|
||||||
pre_bump_hooks: python ../../ci/changelog.py console_simple_init
|
pre_bump_hooks: python ../../ci/changelog.py console_simple_init
|
||||||
tag_format: console_simple_init-v$version
|
tag_format: console_simple_init-v$version
|
||||||
version: 1.0.1
|
version: 1.0.2
|
||||||
version_files:
|
version_files:
|
||||||
- idf_component.yml
|
- idf_component.yml
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.0.2](https://github.com/espressif/esp-protocols/commits/console_simple_init-v1.0.2)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fixed bump version check in publish-docs yml ([e834d47](https://github.com/espressif/esp-protocols/commit/e834d47))
|
||||||
|
|
||||||
## [1.0.1](https://github.com/espressif/esp-protocols/commits/console_simple_init-v1.0.1)
|
## [1.0.1](https://github.com/espressif/esp-protocols/commits/console_simple_init-v1.0.1)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
int do_user_cmd(int argc, char **argv)
|
int do_user_cmd(int argc, char **argv)
|
||||||
{
|
{
|
||||||
printf("Hello from user command\n");
|
printf("Hello from user command.\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: 1.0.1
|
version: 1.0.2
|
||||||
description: The component provides helper functions for easy initialization and start of esp console.
|
description: The component provides helper functions for easy initialization and start of esp console.
|
||||||
url: https://github.com/espressif/esp-protocols/tree/master/components/console_simple_init
|
url: https://github.com/espressif/esp-protocols/tree/master/components/console_simple_init
|
||||||
dependencies:
|
dependencies:
|
||||||
|
Reference in New Issue
Block a user