Skip to content

Commit

Permalink
Update version number by release flow (#187)
Browse files Browse the repository at this point in the history
* Update release.yml to update version number automatically.

* Update version in manifest.yml and config.doxyfile.

* Update change log.
  • Loading branch information
ActoryOu authored Dec 17, 2024
1 parent 00188a7 commit c291099
Show file tree
Hide file tree
Showing 116 changed files with 136 additions and 112 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ jobs:
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
COMMIT_ID: ${{ github.event.inputs.commit_id }}
run: git checkout -b "$VERSION_NUMBER" "$COMMIT_ID"
- name: Update version number in source files
env:
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
source_folder_list: "source test"
run: |
echo "${{ env.source_folder_list }}" | \
xargs -n 1 sh -c \
'find $0 -type f \( -name "*.c" -o -name "*.h" \) \
-exec sed -i -b -E "0,/^ \* FreeRTOS-Cellular-Interface/s/^ \* FreeRTOS-Cellular-Interface.*/ \* FreeRTOS-Cellular-Interface $VERSION_NUMBER/g" {} +'
git add .
git commit -m '[AUTO][RELEASE]: Update version number in source files'
git push -u origin "$VERSION_NUMBER"
- name: Generate SBOM
uses: FreeRTOS/CI-CD-Github-Actions/sbom-generator@main
with:
Expand Down
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "test/unit-test/CMock"]
path = test/unit-test/CMock
url = https://github.com/ThrowTheSwitch/CMock
update = none
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log for FreeRTOS Cellular Interface Library

## v1.4.1 (December 2024)

### Updates

- [#177](https://github.com/FreeRTOS/FreeRTOS-Cellular-Interface/pull/177)
Fix freertos.org link in the source and doxygen files
- [#180](https://github.com/FreeRTOS/FreeRTOS-Cellular-Interface/pull/180)
Replace Synopsys link with blackduck one to solve link error.
- [#185](https://github.com/FreeRTOS/FreeRTOS-Cellular-Interface/pull/185)
Enable typedef to make docs able to link *_t structs.

## v1.4.0 (May 2024)

### Updates
Expand Down
2 changes: 1 addition & 1 deletion docs/doxygen/config.doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PROJECT_NAME = "FreeRTOS: FreeRTOS Cellular Library"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = v1.4.0
PROJECT_NUMBER = v1.4.1

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion manifest.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name : "FreeRTOS-Cellular-Interface"
version: "v1.4.0"
version: "v1.4.1+"
description: |
"FreeRTOS Cellular Interface implementation of the 3GPP TS v27.007 standard..\n"
license: "MIT"
Expand Down
2 changes: 1 addition & 1 deletion source/cellular_3gpp_api.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/cellular_3gpp_urc_handler.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/cellular_at_core.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/cellular_common.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/cellular_common_api.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/cellular_pkthandler.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/cellular_pktio.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/include/cellular_api.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/include/cellular_config_defaults.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/include/cellular_types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/include/common/cellular_at_core.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/include/common/cellular_common.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/include/common/cellular_common_api.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/include/common/cellular_common_portable.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/include/private/cellular_common_internal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/include/private/cellular_internal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/include/private/cellular_pkthandler_internal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/include/private/cellular_pktio_internal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion source/interface/cellular_comm_interface.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion test/cbmc/include/cellular_cbmc_state.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion test/cbmc/include/cellular_config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion test/cbmc/include/cellular_platform.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FreeRTOS-Cellular-Interface v1.4.0
* FreeRTOS-Cellular-Interface <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
Loading

0 comments on commit c291099

Please sign in to comment.