Skip to content

Commit

Permalink
Add echos
Browse files Browse the repository at this point in the history
  • Loading branch information
cygaar committed Dec 3, 2024
1 parent 7e290fa commit 65b03ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,17 @@ jobs:
run: |
# Get the latest release tag
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
echo "Publishing version: $LATEST_TAG"
# Force clean the working directory and reset any changes
echo "Cleaning working directory and resetting any changes"
git clean -fd
git reset --hard HEAD
# Force checkout the latest tag
echo "Checking out latest tag: $LATEST_TAG"
git checkout -f $LATEST_TAG
echo "Publishing version: $LATEST_TAG"
npx lerna publish from-git --yes --dist-tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 65b03ce

Please sign in to comment.