Skip to content

Commit

Permalink
Skip latest commit check for stable release (#59383)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi authored Dec 7, 2023
1 parent 77dc763 commit eaa0e7c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/trigger_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ jobs:
- name: Get commit of the latest tag
run: echo "LATEST_TAG_COMMIT=$(git rev-list -n 1 $(git describe --tags --abbrev=0))" >> $GITHUB_ENV

- name: Get latest commit
run: echo "LATEST_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV

- name: Check if new commits since last tag
run: |
if [ "$LATEST_TAG_COMMIT" = "$LATEST_COMMIT" ]; then
echo "No new commits. Exiting..."
exit 1
fi
# - name: Get latest commit
# run: echo "LATEST_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV

# - name: Check if new commits since last tag
# run: |
# if [ "$LATEST_TAG_COMMIT" = "$LATEST_COMMIT" ]; then
# echo "No new commits. Exiting..."
# exit 1
# fi

# https://github.com/actions/virtual-environments/issues/1187
- name: tune linux network
Expand Down

0 comments on commit eaa0e7c

Please sign in to comment.