Skip to content

Commit 0d81ef1

Browse files
More release-plan fixes (#2875)
1 parent b4892c0 commit 0d81ef1

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
node-version: 22
3333
registry-url: 'https://registry.npmjs.org'
3434
- run: npm ci
35+
- name: Build library
36+
run: npm run build_lib
3537
- name: Publish to NPM
3638
run: npx release-plan publish --provenance
3739
env:

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"ng": "ng",
1717
"npm_pack": "cd dist/angular-shepherd && npm pack",
1818
"package": "npm run build_lib && npm run npm_pack",
19-
"prepublishOnly": "npm run build_lib",
2019
"start": "ng serve",
2120
"test": "ng test"
2221
},

projects/shepherd/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,8 @@
2929
"publishConfig": {
3030
"registry": "https://registry.npmjs.org",
3131
"directory": "../../dist/angular-shepherd"
32+
},
33+
"release-plan": {
34+
"tagFormat": "v${version}"
3235
}
3336
}

0 commit comments

Comments
 (0)