Skip to content

Commit ccd8a95

Browse files
committed
release: v9.1.1
1 parent 6c4399e commit ccd8a95

5 files changed

Lines changed: 14 additions & 18 deletions

File tree

.github/workflows/ngx-repository-ci.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,13 @@ jobs:
179179
name: Deploy ngx-repository
180180
runs-on: ubuntu-latest
181181
needs: [ test, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
182-
if: github.ref == 'refs/heads/master'
182+
if: "github.ref == 'refs/heads/master' && startsWith(github.event.head_commit.message, 'release: v')"
183183
strategy:
184184
matrix:
185185
node-version: [ 18 ]
186+
permissions:
187+
contents: write
188+
id-token: write
186189

187190
steps:
188191
- name: Checkout Repository
@@ -194,17 +197,11 @@ jobs:
194197
name: ngx-repository
195198
path: ./dist/ngx-repository
196199

197-
- name: "Publish @paddls/ngx-repository"
198-
uses: pascalgn/npm-publish-action@1.3.9
199-
with:
200-
tag_name: "v%s"
201-
tag_message: "v%s"
202-
commit_pattern: "^release: v(\\S+)"
203-
workspace: "./dist/ngx-repository"
204-
publish_args: "--access public"
205-
env:
206-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
207-
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN_PADDLS }}
200+
201+
- name: Tag repo
202+
run: |
203+
git tag v$(node -p "require('./package.json').version")
204+
git push origin --tags
208205
209206
deploy-witty-ngx-repository:
210207
name: Deploy witty ngx-repository

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

projects/ngx-firestore-repository/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@paddls/ngx-firestore-repository",
3-
"version": "9.1.1-rc.1",
3+
"version": "9.1.1",
44
"peerDependencies": {
55
"@angular/common": ">= 19.0.0",
66
"@angular/core": ">= 19.0.0",
7-
"@paddls/ngx-repository": "9.1.1-rc.1",
7+
"@paddls/ngx-repository": "9.1.1",
88
"firebase": ">= 9.9.2"
99
},
1010
"dependencies": {

projects/ngx-http-repository/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@paddls/ngx-http-repository",
3-
"version": "9.1.1-rc.1",
3+
"version": "9.1.1",
44
"peerDependencies": {
55
"@angular/common": ">= 19.0.0",
66
"@angular/core": ">= 19.0.0",
7-
"@paddls/ngx-repository": "9.1.1-rc.1"
7+
"@paddls/ngx-repository": "9.1.1"
88
},
99
"dependencies": {
1010
"tslib": "^2.0.0",

projects/ngx-repository/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@paddls/ngx-repository",
3-
"version": "9.1.1-rc.1",
3+
"version": "9.1.1",
44
"peerDependencies": {
55
"@angular/common": ">=19.0.0",
66
"@angular/core": ">=19.0.0"

0 commit comments

Comments
 (0)