Skip to content

Commit

Permalink
Version Number Fix (#106)
Browse files Browse the repository at this point in the history
* Bumping to version 1.3 instead of patch 1.2.1

* Fixing pattern match type in README

Co-authored-by: Soren Ptak <skptak@amazon.com>
  • Loading branch information
Skptak and Soren Ptak authored Sep 22, 2022
1 parent 58dbecd commit 37e6f7f
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog for AWS IoT Device Shadow library


## v1.2.1 (August 2022)
## v1.3.0 (September 2022)

### Other
- [#102](https://github.com/aws/Device-Shadow-for-AWS-IoT-embedded-sdk/pull/102) MISRA C:2012 compliance update
Expand Down
2 changes: 1 addition & 1 deletion docs/doxygen/config.doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "AWS IoT Device Shadow"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = v1.2.1
PROJECT_NUMBER = v1.3.0

# 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 : "Device-Shadow-for-AWS-IoT-embedded-sdk"
version: "v1.2.1"
version: "v1.3.0"
description: |
"Client library for using the AWS IoT Device Shadow service on embedded devices.\n"
license: "MIT"
2 changes: 1 addition & 1 deletion source/include/shadow.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* AWS IoT Device Shadow v1.2.1
* AWS IoT Device Shadow v1.3.0
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
Expand Down
2 changes: 1 addition & 1 deletion source/include/shadow_config_defaults.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* AWS IoT Device Shadow v1.2.1
* AWS IoT Device Shadow v1.3.0
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
Expand Down
2 changes: 1 addition & 1 deletion source/shadow.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* AWS IoT Device Shadow v1.2.1
* AWS IoT Device Shadow v1.3.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* AWS IoT Device Shadow v1.2.1
* AWS IoT Device Shadow v1.3.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* AWS IoT Device Shadow v1.2.1
* AWS IoT Device Shadow v1.3.0
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* AWS IoT Device Shadow v1.2.1
* AWS IoT Device Shadow v1.3.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
Expand Down
2 changes: 1 addition & 1 deletion test/include/shadow_config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* AWS IoT Device Shadow v1.2.1
* AWS IoT Device Shadow v1.3.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
Expand Down
2 changes: 1 addition & 1 deletion test/unit-test/shadow_utest.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* AWS IoT Device Shadow v1.2.1
* AWS IoT Device Shadow v1.3.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
Expand Down
10 changes: 5 additions & 5 deletions tools/coverity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ Go to the root directory of the library and run the following commands in termin
~~~
6. Format the errors in HTML format so that it is more readable while removing the test and build directory from the report
~~~
cov-format-errors --dir . --file "*/source" --exclude-files '(/build/|/test/)' --html-output html-out;
cov-format-errors --dir . --file "source" --exclude-files '(/build/|/test/)' --html-output html-out;
~~~
7. Format the errors in JSON format to perform a jq query to get a simplified list of any exceptions.
NOTE: A blank output means there are no defects that aren't being suppressed by the config or inline comments.
~~~
cov-format-errors --dir . --file "*/source" --exclude-files '(/build/|/test/)' --json-output-v2 defects.json;
cov-format-errors --dir . --file "source" --exclude-files '(/build/|/test/)' --json-output-v2 defects.json;
echo -e "\n-------------------------Non-Suppresed Deviations, if any, Listed Below-------------------------\n";
jq '.issues[] | .events[] | .eventTag ' defects.json | sort | uniq -c | sort -nr;
echo -e "\n-------------------------Non-Suppresed Deviations, if any, Listed Above-------------------------\n";
Expand All @@ -67,13 +67,13 @@ For your convenience the commands above are below to be copy/pasted into a UNIX
cov-build --emit-complementary-info --dir cov-out make coverity_analysis;
cd cov-out/
cov-analyze --dir . --coding-standard-config ../../tools/coverity/misra.config;
cov-format-errors --dir . --file "*/source" --exclude-files '(/build/|/test/)' --html-output html-out;
cov-format-errors --dir . --file "*/source" --exclude-files '(/build/|/test/)' --json-output-v2 defects.json;
cov-format-errors --dir . --file "source" --exclude-files '(/build/|/test/)' --html-output html-out;
cov-format-errors --dir . --file "source" --exclude-files '(/build/|/test/)' --json-output-v2 defects.json;
echo -e "\n-------------------------Non-Suppresed Deviations, if any, Listed Below-------------------------\n";
jq '.issues[] | .events[] | .eventTag ' defects.json | sort | uniq -c | sort -nr;
echo -e "\n-------------------------Non-Suppresed Deviations, if any, Listed Above-------------------------\n";
cd ../../;
~~~

You should now have the HTML formatted violations list in a directory named `build/cov-out/html-output`.
With the current configuration and the provided project, you should not see any deviations.
With the current configuration and the provided project, you should not see any deviations.

0 comments on commit 37e6f7f

Please sign in to comment.