-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8014417
commit 7f17fbc
Showing
2 changed files
with
5 additions
and
104 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,26 +32,16 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: print operator version after update | ||
- name: Update operator version | ||
run: | | ||
echo "Latest version provided --> ${{ github.event.inputs.latest-version }}" | ||
echo "Existing version provided --> ${{ github.event.inputs.existing-version }}" | ||
echo "CSM program version --> ${{ github.event.inputs.csm-version }}" | ||
- name: Update version | ||
run: | | ||
echo "Updating Operator version to ${{ github.event.inputs.latest-version }}" | ||
echo "GITHUB_WORKSPACE --> $GITHUB_WORKSPACE" | ||
echo "github.workspace --> ${{ github.workspace }}" | ||
echo "Updating Operator version to --> ${{ github.event.inputs.latest-version }}" | ||
if [ -f "$GITHUB_WORKSPACE/.github/scripts/operator-version-update.sh" ]; then | ||
echo "INSIDE IF" | ||
pwd | ||
echo " before bash script" | ||
bash $GITHUB_WORKSPACE/.github/scripts/operator-version-update.sh ${{ github.event.inputs.latest-version }} ${{ github.event.inputs.existing-version }} ${{ github.event.inputs.csm-version }} | ||
echo " bash execution completed" | ||
pwd | ||
fi | ||
# Needed for signing commits using Github App tokens | ||
# See: https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#commit-signing | ||
- name: Generate GitHub App Token | ||
uses: actions/[email protected] | ||
id: generate-token | ||
|