Skip to content

Commit

Permalink
Fix release 1d59f71
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev committed May 7, 2024
1 parent 5ab098b commit 22c4692
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ jobs:
steps:
- name: Checkout source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
with:
ref: main
# forcing release because of the issue documented here:
# https://github.com/TBD54566975/web5-js/pull/517
# with:
# ref: main

# https://cashapp.github.io/hermit/usage/ci/
- name: Init Hermit
Expand Down
18 changes: 9 additions & 9 deletions scripts/changesets-api-release-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ if [[ -n $API_RELEASE_PR || $KICK_API_RELEASE == "true" ]]; then
exit 0
fi

if [[ $API_RELEASES_COUNT == $ALL_RELEASES_COUNT ]]; then
echo "Only @web5/api release detected, checking for API Release labeled PR or Kick trigger..."
if [[ -z $RELEASE_WEB5_API ]]; then
echo "No API Release labeled PR found and KICK_API_RELEASE is false, skipping the PR creation..."
# removes all the api changesets files to ensure a Version Packages PR is not created
find .changeset -type f -name "*.md" ! -name "README.md" -exec rm {} +
exit 0
fi
fi
# if [[ $API_RELEASES_COUNT == $ALL_RELEASES_COUNT ]]; then
# echo "Only @web5/api release detected, checking for API Release labeled PR or Kick trigger..."
# if [[ -z $RELEASE_WEB5_API ]]; then
# echo "No API Release labeled PR found and KICK_API_RELEASE is false, skipping the PR creation..."
# # removes all the api changesets files to ensure a Version Packages PR is not created
# find .changeset -type f -name "*.md" ! -name "README.md" -exec rm {} +
# exit 0
# fi
# fi

0 comments on commit 22c4692

Please sign in to comment.