Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Mar 25, 2024
1 parent c91a4b4 commit 50ab899
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-sync-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Release Sync and Issue Management Close

on:
release:
types: [released, edited]
types: [released]

jobs:
sync-check-and-issue-management-close:
Expand All @@ -23,8 +23,8 @@ jobs:
LAST_RELEASE_TAG=$(git tag | sort -V | grep -v 'rc' | tail -1)
LAST_RELEASE_COMMIT=$(git rev-list -n 1 ${LAST_RELEASE_TAG} 2>/dev/null | head -1)
echo "Last commit: ${LAST_COMMIT}"
echo "Release tag: ${{github.event.release.tag_name}}"
echo "Release commit: ${GITHUB_SHA}"
echo "Current release tag: ${{github.event.release.tag_name}}"
echo "Current release commit: ${GITHUB_SHA}"
echo "Last release tag: ${LAST_RELEASE_TAG}"
echo "Last release commit: ${LAST_RELEASE_COMMIT}"
echo "last_commit="${LAST_COMMIT}"" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-sync-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
LAST_RELEASE_COMMIT=$(git rev-list -n 1 ${LAST_RELEASE_TAG} 2>/dev/null | head -1)
COMMITS_SINCE_LAST_RELEASE=$(git log ${LAST_RELEASE_COMMIT}..HEAD --oneline --reverse --no-merges | sed 's/[`\$]//g' | tr '\n' '|')
HAVE_RELEASE=$(test "${LAST_RELEASE_COMMIT}" = "${GITHUB_SHA}" && echo "true" || echo "false")
echo "Last commit: ${GITHUB_SHA}"
echo "Last release tag: ${LAST_RELEASE_TAG}"
echo "Last release commit: ${LAST_RELEASE_COMMIT}"
echo "Latest commit: ${GITHUB_SHA}"
echo "Have release: ${HAVE_RELEASE}"
echo "Commits since last release:"
echo "${COMMITS_SINCE_LAST_RELEASE}"
Expand Down

0 comments on commit 50ab899

Please sign in to comment.