Skip to content

Commit

Permalink
Debugging lerna git checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
collins-w committed Nov 16, 2023
1 parent e9724b9 commit fa56caf
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,16 @@ jobs:
cd "${{ steps.temp-dir.outputs.path }}"
tar -xzvf "${{ needs.provenance.outputs.package-name }}"
cd package/; git init
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "Add the untracked files"
tag_ref=${{ github.ref }}
tag_version="v1.52.0-rc.2"
tag_version="v1.52.0-rc.3"
pwd
lerna_options="--no-git-tag-version --no-push --ignore-scripts --yes --exact --no-changelog --force-publish"
# if [[ $tag_version != *rc* ]]; then
# lerna publish $tag_version $lerna_options
# else
# lerna publish $tag_version $lerna_options --dist-tag rc --pre-dist-tag rc --loglevel debug
# fi
- name: Setup upterm session
uses: lhotari/action-upterm@v1
if [[ $tag_version != *rc* ]]; then
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 fa56caf

Please sign in to comment.