Skip to content

Commit

Permalink
Debugging lerna release
Browse files Browse the repository at this point in the history
  • Loading branch information
collins-w committed Nov 16, 2023
1 parent 6b6e9d2 commit 5ec11f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ jobs:

- name: Authenticate NPM
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > ~/.npmrc
- name: Setup upterm session
uses: lhotari/action-upterm@v1
# - name: Setup upterm session
# uses: lhotari/action-upterm@v1

- name: Unpack the zipped artifact
run: |
Expand All @@ -80,10 +80,10 @@ jobs:
tar -xzvf "${{ needs.provenance.outputs.package-name }}"
cd package/; git init
tag_ref=${{ github.ref }}
tag_version="v1.52.0-rc.0"
tag_version="v1.52.0"
lerna_options="--no-git-tag-version --no-push --ignore-scripts --yes --exact --no-changelog --force-publish"
if [[ $tag_version != *rc* ]]; then
echo "Main release"
lerna publish $tag_version $lerna_options
else
lerna publish $tag_version $lerna_options --dist-tag rc --pre-dist-tag rc --loglevel debug
fi

0 comments on commit 5ec11f5

Please sign in to comment.