We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e290fa commit 65b03ceCopy full SHA for 65b03ce
.github/workflows/release.yaml
@@ -43,15 +43,17 @@ jobs:
43
run: |
44
# Get the latest release tag
45
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
46
- echo "Publishing version: $LATEST_TAG"
47
48
# Force clean the working directory and reset any changes
+ echo "Cleaning working directory and resetting any changes"
49
git clean -fd
50
git reset --hard HEAD
51
52
# Force checkout the latest tag
53
+ echo "Checking out latest tag: $LATEST_TAG"
54
git checkout -f $LATEST_TAG
55
56
+ echo "Publishing version: $LATEST_TAG"
57
npx lerna publish from-git --yes --dist-tag latest
58
env:
59
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments