Skip to content

Commit 1bb050b

Browse files
Re-enable oclif readme command on new version release.
1 parent 47414d7 commit 1bb050b

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/onPushToMain.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ jobs:
4040
echo "Path is ... $PATH"
4141
git config --global user.email "dishantlangayan@gmail.com"
4242
git config --global user.name "dishantlangayan"
43-
# - name: Generate oclif README
44-
# if: ${{ steps.version-check.outputs.skipped == 'false' }}
45-
# id: oclif-readme
46-
# run: |
47-
# npm install
48-
# npm exec oclif readme
49-
# if [ -n "$(git status --porcelain)" ]; then
50-
# git add .
51-
# git commit -am "chore: update README.md"
52-
# git push -u origin ${{ github.ref_name }}
53-
# fi
43+
- name: Generate oclif README
44+
if: ${{ steps.version-check.outputs.skipped == 'false' }}
45+
id: oclif-readme
46+
run: |
47+
npm install
48+
npm exec oclif readme
49+
if [ -n "$(git status --porcelain)" ]; then
50+
git add .
51+
git commit -am "chore: update README.md"
52+
git push -u origin ${{ github.ref_name }}
53+
fi
5454
- name: Create Github Release
5555
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5
5656
if: ${{ steps.version-check.outputs.skipped == 'false' }}

0 commit comments

Comments
 (0)