Skip to content

Commit

Permalink
Update release-sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Feb 1, 2024
1 parent 75e1500 commit 29da856
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
- name: Determine sync status and fetch commits
id: prep
run: |
echo "Fetching tags..."
LATEST_RELEASE=$(git describe --tags $(git rev-list --tags --max-count=1))
LATEST_COMMIT=$(git log -1 --format=%H)
COMMITS_SINCE_LAST_RELEASE=$(git log $LATEST_RELEASE..HEAD --oneline)
Expand All @@ -31,8 +30,8 @@ jobs:
else
echo "REPO_IN_SYNC=true" >> $GITHUB_ENV
fi
echo "$COMMITS_SINCE_LAST_RELEASE"
echo "commits_since_last_release=$(echo "$COMMITS_SINCE_LAST_RELEASE")" >> $GITHUB_OUTPUT
echo "${COMMITS_SINCE_LAST_RELEASE}"
echo "commits_since_last_release=${COMMITS_SINCE_LAST_RELEASE}" >> $GITHUB_OUTPUT
- name: Manage issues based on sync status
uses: actions/github-script@v7
Expand Down

0 comments on commit 29da856

Please sign in to comment.