Skip to content

Commit 3caaeaf

Browse files
committed
chore: wip manual-release workflow
1 parent c6c9010 commit 3caaeaf

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/manual-release.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,17 @@ jobs:
5050
run: |
5151
yarn build
5252
53-
- name: (WIP) Determine what version to release (--yes skips the confirmation prompt)
54-
run: npx lerna version --loglevel=silly --conventional-commits --exact --yes --no-git-tag-version --no-push
53+
- name: Determine what version to release and publish to Github (--yes skips the confirmation prompt)
5554
env:
56-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
GH_TOKEN: ${{ secrets.JAMES_HENRY_GH_TOKEN }}
56+
run: |
57+
# Required for github release to work
58+
git config --global user.email "james@henry.sc"
59+
git config --global user.name "James Henry"
5760
58-
- run: |
59-
git diff
60-
git status
61+
npx lerna version --loglevel=silly --yes --conventional-commits --exact --force-publish --github-release -m "chore: publish %s"
6162
62-
# - name: Publish the updated versions to NPM (--yes skips the confirmation prompt)
63-
# run: npx lerna publish from-package --yes
64-
# env:
65-
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
63+
- name: Publish the updated versions to NPM (--yes skips the confirmation prompt)
64+
run: npx lerna publish from-package --yes
65+
env:
66+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy