Skip to content

Commit

Permalink
ci: update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud committed Jul 10, 2024
1 parent 7ca40ea commit 98fbc3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# TODO: uncomment
# run: yarn changelogithub
# env:
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: yarn changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

forge:
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions scripts/publish-for-forge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ maybe_publish_forge_pkg() {
git checkout -b "$pkg"
# return early if latest already published
[ "$latest_commit_msg" = "$version" ] && return
git status
git pull --rebase origin "$pkg"
git pull --rebase origin "$pkg" || true
clean "$pkg"
mv "packages/$pkg"/src .
mv "packages/$pkg"/README.md .
Expand Down

0 comments on commit 98fbc3f

Please sign in to comment.