File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 uses : actions/checkout@v4
1818 - name : Run Version Update Action
1919 uses : open-edge-platform/orch-ci/dev-version-update@main
20+ with :
21+ gh_token : ${{ secrets.SYS_ORCH_GITHUB }}
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Copyright 2025 Intel Corp.
4+ # SPDX-License-Identifier: Apache-2.0
5+
6+ if [ -n " $1 " ]
7+ then
8+ new_version=" $1 "
9+ else
10+ echo " ERROR: missing required version parameter"
11+ exit 1
12+ fi
13+
14+ # Check if VERSIONFILE is set and not empty
15+ if [ -z " ${VERSIONFILE} " ]; then
16+ echo " ERROR: VERSIONFILE environment variable is not set or empty"
17+ exit 1
18+ fi
19+
20+ bash ./tools/set-version.sh " admin" " $new_version "
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Copyright 2025 Intel Corp.
4+ # SPDX-License-Identifier: Apache-2.0
5+
6+ if [ -n " $1 " ]
7+ then
8+ new_version=" $1 "
9+ else
10+ echo " ERROR: missing required version parameter"
11+ exit 1
12+ fi
13+
14+ # Check if VERSIONFILE is set and not empty
15+ if [ -z " ${VERSIONFILE} " ]; then
16+ echo " ERROR: VERSIONFILE environment variable is not set or empty"
17+ exit 1
18+ fi
19+
20+ bash ./tools/set-version.sh " app-orch" " $new_version "
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Copyright 2025 Intel Corp.
4+ # SPDX-License-Identifier: Apache-2.0
5+
6+ if [ -n " $1 " ]
7+ then
8+ new_version=" $1 "
9+ else
10+ echo " ERROR: missing required version parameter"
11+ exit 1
12+ fi
13+
14+ # Check if VERSIONFILE is set and not empty
15+ if [ -z " ${VERSIONFILE} " ]; then
16+ echo " ERROR: VERSIONFILE environment variable is not set or empty"
17+ exit 1
18+ fi
19+
20+ bash ./tools/set-version.sh " cluster-orch" " $new_version "
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Copyright 2025 Intel Corp.
4+ # SPDX-License-Identifier: Apache-2.0
5+
6+ if [ -n " $1 " ]
7+ then
8+ new_version=" $1 "
9+ else
10+ echo " ERROR: missing required version parameter"
11+ exit 1
12+ fi
13+
14+ # Check if VERSIONFILE is set and not empty
15+ if [ -z " ${VERSIONFILE} " ]; then
16+ echo " ERROR: VERSIONFILE environment variable is not set or empty"
17+ exit 1
18+ fi
19+
20+ bash ./tools/set-version.sh " infra" " $new_version "
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Copyright 2025 Intel Corp.
4+ # SPDX-License-Identifier: Apache-2.0
5+
6+ if [ -n " $1 " ]
7+ then
8+ new_version=" $1 "
9+ else
10+ echo " ERROR: missing required version parameter"
11+ exit 1
12+ fi
13+
14+ # Check if VERSIONFILE is set and not empty
15+ if [ -z " ${VERSIONFILE} " ]; then
16+ echo " ERROR: VERSIONFILE environment variable is not set or empty"
17+ exit 1
18+ fi
19+
20+ bash ./tools/set-version.sh " root" " $new_version "
Original file line number Diff line number Diff line change @@ -26,5 +26,5 @@ echo "$new_version" > "apps/$app/VERSION"
2626make -C " apps/$app " apply-version
2727helm dep update apps/$app /deploy/
2828
29- echo -e " ${CYAN} Version has been update to $new_version in $app ${NC} "
29+ echo -e " ${CYAN} Version has been updated to $new_version in $app ${NC} "
3030echo " Make sure all APIs point to released versions with 'make check-valid-api'"
You can’t perform that action at this time.
0 commit comments