Skip to content

Commit

Permalink
fixed update_version.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ji-podhead committed Aug 4, 2024
1 parent 09849df commit bbdd71c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/galaxy_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
run: echo "COMMIT_ID=$(git rev-parse HEAD)" >> $GITHUB_ENV

- name: Get previous commit ID
run: echo "PREV_COMMIT_ID=$(git rev-parse HEAD^)" >> $GITHUB_ENV
run: |
PREV_COMMIT_ID=$(git rev-list --max-parents=0 HEAD | head -n 1)
echo "PREV_COMMIT_ID=$PREV_COMMIT_ID" >> $GITHUB_ENV
- name: Compare commits
run: |
Expand Down

0 comments on commit bbdd71c

Please sign in to comment.