Skip to content

Commit b8b14c3

Browse files
authored
ci: implement github releases on deployment (#583)
1 parent 6058658 commit b8b14c3

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/publishment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
run: npx nx version ngx-deploy-npm
7777
env:
7878
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
79+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7980

8081
- name: Tag last-release
8182
run: git tag --force last-release

packages/ngx-deploy-npm/project.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,17 @@
7474
},
7575
"dependsOn": ["build"]
7676
},
77+
"github": {
78+
"executor": "@jscutlery/semver:github",
79+
"options": {
80+
"tag": "{tag}",
81+
"notes": "{notes}"
82+
}
83+
},
7784
"version": {
7885
"executor": "@jscutlery/semver:version",
7986
"options": {
80-
"postTargets": ["ngx-deploy-npm:build", "ngx-deploy-npm:deploy"],
87+
"postTargets": ["build", "deploy", "github"],
8188
"versionTagPrefix": "v"
8289
}
8390
},

0 commit comments

Comments
 (0)