Skip to content

Commit

Permalink
Update update_version.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rysiulg authored Nov 6, 2024
1 parent d6e369a commit d870af0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/update_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ jobs:
with:
fetch-depth: 0 # Fetch all branches and history

- name: Check Current Directory
run: |
echo "Current directory:"
pwd # Print current directory
echo "Listing files:"
ls -l # List files in the current directory
- name: List files in .github/scripts
run: |
echo "Listing files in .github/scripts/"
ls -l .github/scripts/
- name: Install Python
run: |
sudo apt-get update
Expand All @@ -41,6 +53,11 @@ jobs:
git fetch origin ${{ env.TARGET_BRANCH }} # Fetch the latest target branch
git checkout ${{ env.TARGET_BRANCH }} # Checkout the target branch
- name: List files in .github/scripts after checkout
run: |
echo "Listing files in .github/scripts/ after checkout"
ls -l .github/scripts/
- name: Update Version
run: |
python3 .github/scripts/update_version.py ${{ github.event.release.tag_name }}
Expand Down

0 comments on commit d870af0

Please sign in to comment.