Skip to content

Commit

Permalink
ci(release): update ngsw during semver
Browse files Browse the repository at this point in the history
  • Loading branch information
pawcoding committed Mar 23, 2024
1 parent fb6f728 commit ffc75e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ jobs:
- name: 🧹 Purge unused files
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.HTTP_PURGE }}
url: ${{ secrets.HTTP_PURGE_STAGING }}
method: 'GET'
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md", "package.json", "pnpm-lock.yaml"]
"assets": ["CHANGELOG.md", "package.json", "pnpm-lock.yaml", "ngsw-config.json"]
}
],
"@semantic-release/github"
Expand Down
2 changes: 1 addition & 1 deletion ngsw-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
}
],
"appData": {
"version": "2.0.0-beta"
"version": "1.0.0"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"name": "pawcode Development"
},
"scripts": {
"prebuild": "node ./scripts/update-ngsw.js",
"postversion": "node ./scripts/update-ngsw.js",
"build": "ng build",
"preinstall": "npx only-allow pnpm",
"lint": "ng lint",
Expand Down

0 comments on commit ffc75e4

Please sign in to comment.