Skip to content

Commit a81458f

Browse files
updated release workflow
1 parent 626a38d commit a81458f

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
registry-url: 'https://registry.npmjs.org'
3434
always-auth: true
3535

36+
- name: Clean dist
37+
run: rm -rf dist
38+
3639
- name: Install dependencies
3740
run: npm install
3841

@@ -44,4 +47,5 @@ jobs:
4447

4548
- name: Publish to npm
4649
# OIDC handles authentication automatically now.
47-
run: npm publish ./dist/ngbootstrap --provenance # publish the built package only
50+
working-directory: dist/ngbootstrap
51+
run: npm publish --provenance --access public # publish the built package only

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-bootstrap/ngbootstrap",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "Angular UI library providing datagrid, drag-and-drop, pagination, and stepper components with Bootstrap-friendly styling.",
55
"author": {
66
"name": "Harmeet Singh"

0 commit comments

Comments
 (0)