Skip to content

Commit

Permalink
Update release.yml to update version number automatically.
Browse files Browse the repository at this point in the history
  • Loading branch information
ActoryOu committed Dec 12, 2024
1 parent 952391b commit 253d29a
Show file tree
Hide file tree
Showing 112 changed files with 123 additions and 110 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@ 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 }}
REPO_NAME: ${{ github.event.repository.name }}
source_folder_list: "source test"
run: |
echo "${{ env.source_folder_list }}" | \
xargs -n 1 sh -c \
'find $@ -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
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
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 253d29a

Please sign in to comment.