Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
60e5b24
Create component-release.yml
ssitar583 Jun 11, 2025
7ee8e4e
Merge pull request #172 from rdkcentral/develop
ssitar583 Jul 3, 2025
9c034f5
Update component-release.yml
ssitar583 Jul 3, 2025
c4be1e5
Create auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 3, 2025
60173d9
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 3, 2025
7e66e18
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 3, 2025
7fee060
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 3, 2025
011b149
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 3, 2025
8fe44ae
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 3, 2025
7ad80e5
Update AVInput.cpp
ssitar583 Jul 3, 2025
9b41bbb
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 3, 2025
1a92b04
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 3, 2025
de5b807
Update AVInput.h
ssitar583 Jul 3, 2025
e88b16f
Update AVInput.h
ssitar583 Jul 3, 2025
e8ff895
Update AVInput.cpp
ssitar583 Jul 3, 2025
42b783d
Update AVInput.cpp
ssitar583 Jul 3, 2025
c6265ad
Update AVInput.h
ssitar583 Jul 3, 2025
028a7fa
Update AVInput.h
ssitar583 Jul 3, 2025
1115cee
Update AVInput.h
ssitar583 Jul 3, 2025
f7999cc
Update AVInput.h
ssitar583 Jul 3, 2025
ee437b4
Update AVInput.h
ssitar583 Jul 3, 2025
4ca22bd
Update AVInput.h
ssitar583 Jul 3, 2025
f7e9109
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
7f76f73
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
3f67668
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
498ae01
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
5d1f496
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
5a97a57
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
9085b92
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
350f2d4
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
21156ee
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
3dddc66
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
9a06496
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
ee827c6
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
3081409
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
7998ed4
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
aa97871
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
3b1fc03
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
cfea3da
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
eb65c05
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
62416e2
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
b962120
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
96b419e
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
711c016
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
9679a41
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
02156a1
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
7d91d5e
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 8, 2025
46d26e9
Update auto_pr_creation_target_repo_caller.yml
ssitar583 Jul 9, 2025
c86699a
Update HdcpProfile.cpp
ssitar583 Jul 9, 2025
f124777
Update HdcpProfile.cpp
ssitar583 Jul 9, 2025
ea53dd6
Update AVInput.cpp
ssitar583 Jul 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/auto_pr_creation_target_repo_caller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Auto PR Creation Caller

on:
pull_request:
types: [closed]
branches:
- test_develop

jobs:
debug_check:
runs-on: ubuntu-latest
steps:
- run: echo "Triggered"

call_auto_pr_workflow:
#secrets:
#RDKCM_RDKE: ${{ secrets.RDKCM_RDKE }}
uses: rdkcentral/build_tools_workflows/.github/workflows/auto_pr_creation_meta.yml@RDKEMW-4778
secrets:
RDKCM_RDKE: ${{ secrets.RDKCM_RDKE }}
#runs-on: ubuntu-latest
#steps:
# - name: Print placeholder instead of actual logic
# run: echo "This is a placeholder for the actual logic."

73 changes: 73 additions & 0 deletions .github/workflows/component-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Component Release

on:
push:
branches:
- develop

jobs:
release:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
- name: Install git-flow and auto-changelog
run: |
sudo apt-get update
sudo apt-get install -y git-flow
npm install -g auto-changelog
- name: Clone the project and start release
run: |
set -e
git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} project
cd project
git fetch --all
git checkout main || git checkout -b main origin/main
git checkout develop || git checkout -b develop origin/develop
git flow init -f -d -p feature/ -b bugfix/ -r release/ -x hotfix/ -s support/ -t ""
# Extract the latest version from CHANGELOG.md and increment patch
LATEST_VERSION=$(grep -m 1 -oP '^#### \[\K[^\]]+' CHANGELOG.md)
if [[ -z "$LATEST_VERSION" ]]; then
echo "No version found in CHANGELOG.md!"
exit 1
fi
IFS='.' read -r major minor patch <<< "$LATEST_VERSION"
if [[ -z "$major" || -z "$minor" || -z "$patch" ]]; then
echo "Invalid version format in CHANGELOG.md: $LATEST_VERSION"
exit 1
fi
NEXT_PATCH=$((patch + 1))
RELEASE_VERSION="$major.$minor.$NEXT_PATCH"
echo "LATEST_VERSION=$LATEST_VERSION"
echo "RELEASE_VERSION=$RELEASE_VERSION"
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
# Check if tag already exists
if git rev-parse "refs/tags/$RELEASE_VERSION" >/dev/null 2>&1; then
echo "Tag $RELEASE_VERSION already exists. Skipping release."
exit 0
fi
git flow release start $RELEASE_VERSION
auto-changelog -v $RELEASE_VERSION
git add CHANGELOG.md
git commit -m "$RELEASE_VERSION release changelog updates"
git flow release publish
- name: Finish release and push (default git-flow messages)
run: |
set -e
cd project
git flow release finish -m "$RELEASE_VERSION release" $RELEASE_VERSION
git push origin main
git push origin --tags
git push origin develop
- name: Cleanup tag if workflow fails
if: failure()
run: |
cd project
git tag -d $RELEASE_VERSION || true
git push origin :refs/tags/$RELEASE_VERSION || true
2 changes: 1 addition & 1 deletion AVInput/AVInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
**/

//Test4
#include "AVInput.h"
#include "dsMgr.h"
#include "hdmiIn.hpp"
Expand Down
2 changes: 1 addition & 1 deletion AVInput/AVInput.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
**/

//Test7
#pragma once

#include "Module.h"
Expand Down
2 changes: 2 additions & 0 deletions HdcpProfile/HdcpProfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,5 @@ namespace WPEFramework
}
} // namespace Plugin
} // namespace WPEFramework


Loading