Skip to content

Commit

Permalink
build(package.json & releaserc.json): semantic-release bump to 22.0.5…
Browse files Browse the repository at this point in the history
…, node to latest & gulp plugin

Bumped semantic-release to version 22.0.5, node to latest, and integrated gulp plugin in release
process to publish notifications on teams channel
  • Loading branch information
AsifNawaz-cnic committed Oct 6, 2023
1 parent 8db9042 commit 5cca3ac
Show file tree
Hide file tree
Showing 5 changed files with 5,977 additions and 1,723 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- name: Setup NodeJS LTS
- name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: lts/*
node-version: ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
check-latest: true
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
RTLDEV_MW_NOTIFICATION_URI: ${{ secrets.RTLDEV_MW_NOTIFICATION_URI }}
run: npx semantic-release
3 changes: 2 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
[
"@semantic-release/exec",
{
"prepareCmd": "./updateVersion.sh ${nextRelease.version} ${options.branch}"
"prepareCmd": "./updateVersion.sh ${nextRelease.version} ${options.branch}",
"successCmd": "gulp publish --notes \"${encodeURIComponent(nextRelease.notes)}\""
}
],
[
Expand Down
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exports.publish = require('rtldev-middleware-gulp-release-notification-plugin');
Loading

0 comments on commit 5cca3ac

Please sign in to comment.