Skip to content

Commit

Permalink
scripts: Fix make-release.sh after PlatformIO changes
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Nov 12, 2024
1 parent f2f5882 commit 0c02d81
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "LibOSDP",
"version": "3.0.6",
"version": "3.0.7",
"description": "A cross-platform open source implementation of IEC 60839-11-5 Open Supervised Device Protocol (OSDP). The protocol is intended to improve interoperability among access control and security products. It supports Secure Channel (SC) for encrypted and authenticated communication between configured devices.",
"authors": [{
"name": "Siddharth Chandrasekaran",
Expand Down
2 changes: 1 addition & 1 deletion platformio/osdp_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @brief The following macros are defined defined from the variable in cmake
* files. All @XXX@ are replaced by the value of XXX as resolved by cmake.
*/
#define PROJECT_VERSION "3.0.6"
#define PROJECT_VERSION "3.0.7"
#define PROJECT_NAME "libosdp"
#define GIT_BRANCH "platformio"
#define GIT_REV ""
Expand Down
4 changes: 2 additions & 2 deletions scripts/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function do_libosdp_release() {
if [[ "$file" != "CHANGELOG" ]] && \
[[ "$file" != "CMakeLists.txt" ]] && \
[[ "$file" != "python/setup.py" ]] && \
[[ "$file" != "library.json" ]]
[[ "$file" != "library.json" ]] && \
[[ "$file" != "platformio/osdp_config.h" ]]
then
echo "ERROR:"
Expand All @@ -112,7 +112,7 @@ function do_libosdp_release() {
echo "CHANGELOG needs to be updated manually"
exit 1
fi
git add CHANGELOG CMakeLists.txt python/setup.py &&
git add CHANGELOG CMakeLists.txt python/setup.py library.json platformio/osdp_config.h &&
git commit -s -m "Release v$version" &&
git tag "v$version" -s -a -m "Release v$version"
}
Expand Down

0 comments on commit 0c02d81

Please sign in to comment.