Skip to content

Commit

Permalink
remove scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nitesh3108 committed Jan 30, 2025
1 parent 8014417 commit 7f17fbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 104 deletions.
89 changes: 0 additions & 89 deletions .github/scripts/operator-version-update.sh

This file was deleted.

20 changes: 5 additions & 15 deletions .github/workflows/operator-version-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f17fbc

Please sign in to comment.