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 dd7c27f commit b97b448
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7,250 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 b97b448

Please sign in to comment.