Skip to content

Commit

Permalink
ci: implement github releases on deployment (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
dianjuar authored Jan 23, 2024
1 parent 6058658 commit b8b14c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/publishment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
run: npx nx version ngx-deploy-npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Tag last-release
run: git tag --force last-release
Expand Down
9 changes: 8 additions & 1 deletion packages/ngx-deploy-npm/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,17 @@
},
"dependsOn": ["build"]
},
"github": {
"executor": "@jscutlery/semver:github",
"options": {
"tag": "{tag}",
"notes": "{notes}"
}
},
"version": {
"executor": "@jscutlery/semver:version",
"options": {
"postTargets": ["ngx-deploy-npm:build", "ngx-deploy-npm:deploy"],
"postTargets": ["build", "deploy", "github"],
"versionTagPrefix": "v"
}
},
Expand Down

0 comments on commit b8b14c3

Please sign in to comment.