diff --git a/.github/workflows/publishment.yml b/.github/workflows/publishment.yml index ecb529bb..899eeaa6 100644 --- a/.github/workflows/publishment.yml +++ b/.github/workflows/publishment.yml @@ -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 diff --git a/packages/ngx-deploy-npm/project.json b/packages/ngx-deploy-npm/project.json index 6f912dea..d529b2af 100644 --- a/packages/ngx-deploy-npm/project.json +++ b/packages/ngx-deploy-npm/project.json @@ -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" } },